/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * FormDTOs.java
 *
 * Created on 20/10/2011, 10:28:27
 */
package vista;
import java.util.Observable;
import vista.ElementoPaginationDTO.*;
import DTOsWS.*;
import java.awt.Component;
import java.awt.Image;
import java.awt.Toolkit;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Calendar;
import java.util.List;
import java.util.logging.Level;
import javax.swing.DefaultListModel;
import javax.swing.Icon;
import javax.swing.JList;
import javax.swing.JOptionPane;
import javax.xml.soap.Text;
import org.jdom.Content;
import vista.ElementoPaginationDTO.*;
import org.jdom.JDOMException;
import armadoresDTO.*;
import java.util.Observer;
import org.apache.log4j.Appender;
import org.jdom.Document;
import org.jdom.Element;
import org.jdom.input.SAXBuilder;
import org.jdom.output.Format;
import org.jdom.output.XMLOutputter;
import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

/**
 *
 * @author sebaPresti
 */

/*
import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.Logger;

public class EjemploLog4j {
	public static void main(String[] args) {
		
		
		log.warn("un warning");
		log.error("un error");
	}
}
*/

public class FormDTOs extends javax.swing.JFrame implements Observer{
    private static FormDTOs uniqueInstance;

    /**
     * @return the uniqueInstance
     */
    public static FormDTOs getUniqueInstance() {
       if (uniqueInstance==null)
            uniqueInstance=new FormDTOs();
        return uniqueInstance;
    }

    /**
     * @param aUniqueInstance the uniqueInstance to set
     */
    public static void setUniqueInstance(FormDTOs aUniqueInstance) {
        uniqueInstance = aUniqueInstance;
    }
    Fnet port=null;
    Fnet_Service service=null;
    MetodosVarios armadores=null;
    CompleteCustomerFieldsDTO aaa = new CompleteCustomerFieldsDTO();
    private Logger log = Logger.getLogger("ConsolaUsuario");

    private ElementoPaginationDTO pagDTO = new ElementoPaginationDTO();
    private ElementoCampaignDTO campDTO = new ElementoCampaignDTO();
    private ElementoCcfDTO ccfDTO = new ElementoCcfDTO();
    private ElementoMcfDTO mcfDTO = new ElementoMcfDTO();
    
    /** Creates new form FormDTOs */
    private FormDTOs() {
        seteaSkin();
        initComponents();
        //configuro parametros del logger
        //BasicConfigurator.configure();              
        PropertyConfigurator.configure( System.getProperty("user.dir")+ "\\lib\\log4j.properties");        
        
        this.setVisible(true);
        getPagDTO().addObserver(this);
        getCampDTO().addObserver(this);
        getCcfDTO().addObserver(this);
        getMcfDTO().addObserver(this);
        
        agregaTxtAsalida(" - - - - -   WS Client for FNET3 Core v1.0   - - - - -");
        agregaTxtAsalida("Obteniendo métodos publicados en el WS...");
        //Call web service operation        
        service = new Fnet_Service();
        port = service.getFnetPort();
        armadores = new MetodosVarios();
        this.cargaComboMetodos();
        agregaTxtAsalida("-- Fin de comunicacion: Métodos obtenidos --");
        agregaTxtAsalida("Leyendo archivos XML");
        leeXMLsyActualizaInterfaz();
        agregaTxtAsalida("-- Fin de lectura de archivos");        
    }
 
    @SuppressWarnings("unchecked")
    
    private void cargaComboMetodos() {
        Method[] metodos = port.getClass().getMethods();
        for (int i=0;i<metodos.length;i++)
          { String parametros="";
            Class[] tipos=metodos[i].getParameterTypes();
            for (int w=0;w<metodos[i].getParameterTypes().length;w++)
                { parametros += tipos[w].toString().replace("class ","").replace("otroPackage.",""); 
                  if (w<(metodos[i].getParameterTypes().length-1))
                    { parametros +=", " ; }        
                }
            String item=metodos[i].getName()+"("+parametros+"): "+metodos[i].getReturnType().getName().replace("otroPackage.","");
            getComboMétodos().addItem(item);            
            //TxtSalida.append(item+"\n");
          }
    }

public static FormDTOs getInstance()    {
    return getUniqueInstance();    
}
    
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        pestanias = new javax.swing.JTabbedPane();
        PanelMetodos = new javax.swing.JPanel();
        panelIngresaMetodo = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        campoMetodo = new javax.swing.JTextField();
        btnEjecutar = new javax.swing.JButton();
        panelElijeMetodo = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();
        comboMétodos = new javax.swing.JComboBox();
        btnEjecutaCombo = new javax.swing.JButton();
        PanelPaginationDTO = new javax.swing.JPanel();
        panelCampos = new javax.swing.JPanel();
        panel1 = new javax.swing.JPanel();
        panelIzq = new javax.swing.JPanel();
        lblComentarios = new javax.swing.JLabel();
        campoInitLimit = new javax.swing.JTextField();
        lblActualPage = new javax.swing.JLabel();
        campoActualPage = new javax.swing.JTextField();
        lblInitLimit = new javax.swing.JLabel();
        campoRecordsTotal = new javax.swing.JTextField();
        lblRecordsTotal = new javax.swing.JLabel();
        campoRowCount = new javax.swing.JTextField();
        lblRowCount = new javax.swing.JLabel();
        jScrollPane3 = new javax.swing.JScrollPane();
        comentariosPagination = new javax.swing.JTextArea();
        campoCriteria = new javax.swing.JTextField();
        lblCriteria = new javax.swing.JLabel();
        campoOrder = new javax.swing.JTextField();
        lblOrder = new javax.swing.JLabel();
        lblORDERS = new javax.swing.JLabel();
        panel2 = new javax.swing.JPanel();
        jLabel3 = new javax.swing.JLabel();
        scrollPagination = new javax.swing.JScrollPane();
        ListaPagination = new javax.swing.JList();
        panelMedio = new javax.swing.JPanel();
        panelBotones = new javax.swing.JPanel();
        btnGuardarPagination = new javax.swing.JButton();
        btnNuevoPagination = new javax.swing.JButton();
        btnEliminarPagination = new javax.swing.JButton();
        PanelCampaignDTO = new javax.swing.JPanel();
        panelCampos1 = new javax.swing.JPanel();
        panelIzqCamp = new javax.swing.JPanel();
        jScrollPane2 = new javax.swing.JScrollPane();
        panelIzqCampaign = new javax.swing.JPanel();
        lblComentarios1 = new javax.swing.JLabel();
        campoAmountLastMovements = new javax.swing.JTextField();
        lblAmountDaysExpiration = new javax.swing.JLabel();
        campoAmountDaysExpiration = new javax.swing.JTextField();
        lblAmountLastMovements = new javax.swing.JLabel();
        campoAmountPrizes = new javax.swing.JTextField();
        lblAmountPrizes = new javax.swing.JLabel();
        campoCreditsTag = new javax.swing.JTextField();
        lblCreditsTag = new javax.swing.JLabel();
        scrollComentPagination = new javax.swing.JScrollPane();
        comentariosCampaignDTO = new javax.swing.JTextArea();
        campoDescriptionCampaign = new javax.swing.JTextField();
        lblDescriptionCampaign = new javax.swing.JLabel();
        campoDirLogo = new javax.swing.JTextField();
        lblDirLogo = new javax.swing.JLabel();
        lblName = new javax.swing.JLabel();
        campoNameCamp = new javax.swing.JTextField();
        lblLocalCurrencyConversion = new javax.swing.JLabel();
        campoLocalCurrencyConversion = new javax.swing.JTextField();
        lblPointsTag = new javax.swing.JLabel();
        campoPointsTag = new javax.swing.JTextField();
        lblTypesCards = new javax.swing.JLabel();
        campoTypesCards = new javax.swing.JTextField();
        lblOtrosDTOs = new javax.swing.JLabel();
        txtOtrosDTOs = new javax.swing.JLabel();
        panelDerecha = new javax.swing.JPanel();
        jLabel4 = new javax.swing.JLabel();
        scrollPagination1 = new javax.swing.JScrollPane();
        ListaCampaign = new javax.swing.JList();
        panelMedio1 = new javax.swing.JPanel();
        panelBotones1 = new javax.swing.JPanel();
        btnGuardarCampaign = new javax.swing.JButton();
        btnNuevoCampaign = new javax.swing.JButton();
        btnEliminarCampaign = new javax.swing.JButton();
        PanelCompleteCustomerFieldsDTO = new javax.swing.JPanel();
        panelCampos2 = new javax.swing.JPanel();
        panelIzqCamp1 = new javax.swing.JPanel();
        jScrollPane4 = new javax.swing.JScrollPane();
        panelIzqCompCustFields = new javax.swing.JPanel();
        lblCcfComentarios = new javax.swing.JLabel();
        scrollComentCcf = new javax.swing.JScrollPane();
        comentariosCcfDTO = new javax.swing.JTextArea();
        PanelChksCcfDTO = new javax.swing.JPanel();
        lblCcfName = new javax.swing.JLabel();
        lblCcfNotes = new javax.swing.JLabel();
        lblCcfSurname = new javax.swing.JLabel();
        lblCcfBirthdate = new javax.swing.JLabel();
        chkNameMand = new javax.swing.JCheckBox();
        lblCcfDNI = new javax.swing.JLabel();
        lblCcfGeoLevels = new javax.swing.JLabel();
        lblCcfPrivacy = new javax.swing.JLabel();
        chkNameShow = new javax.swing.JCheckBox();
        lblCcfGender = new javax.swing.JLabel();
        lblZipCode = new javax.swing.JLabel();
        lblCcfCountry = new javax.swing.JLabel();
        lblCcfTelephone = new javax.swing.JLabel();
        lblCcfAdress = new javax.swing.JLabel();
        lblCcfMobile = new javax.swing.JLabel();
        lblCcfEmail = new javax.swing.JLabel();
        lblCcfTxtShow = new javax.swing.JLabel();
        lblCcfTxtMandatory = new javax.swing.JLabel();
        chkSurnameMand = new javax.swing.JCheckBox();
        chkSurnameShow = new javax.swing.JCheckBox();
        chkDniMand = new javax.swing.JCheckBox();
        chkDniShow = new javax.swing.JCheckBox();
        chkBirthdateMand = new javax.swing.JCheckBox();
        chkBirthdateShow = new javax.swing.JCheckBox();
        chkGeoLevelsMand = new javax.swing.JCheckBox();
        chkGeoLevelsShow = new javax.swing.JCheckBox();
        chkPrivacyMand = new javax.swing.JCheckBox();
        chkPrivacyShow = new javax.swing.JCheckBox();
        chkGenderMand = new javax.swing.JCheckBox();
        chkGenderShow = new javax.swing.JCheckBox();
        chkZipCodeMand = new javax.swing.JCheckBox();
        chkZipCodeShow = new javax.swing.JCheckBox();
        chkCountryMand = new javax.swing.JCheckBox();
        chkCountryShow = new javax.swing.JCheckBox();
        chkTelephoneMand = new javax.swing.JCheckBox();
        chkTelephoneShow = new javax.swing.JCheckBox();
        chkAddressMand = new javax.swing.JCheckBox();
        chkAddressShow = new javax.swing.JCheckBox();
        chkMobileMand = new javax.swing.JCheckBox();
        chkMobileShow = new javax.swing.JCheckBox();
        chkEmailMand = new javax.swing.JCheckBox();
        chkEmailShow = new javax.swing.JCheckBox();
        chkNotesMand = new javax.swing.JCheckBox();
        chkNotesShow = new javax.swing.JCheckBox();
        panelDerechaCcf = new javax.swing.JPanel();
        jLabel5 = new javax.swing.JLabel();
        scrollCcf = new javax.swing.JScrollPane();
        ListaCcf = new javax.swing.JList();
        panelMedioCcf = new javax.swing.JPanel();
        panelBotonesCcf = new javax.swing.JPanel();
        btnGuardarCcf = new javax.swing.JButton();
        btnNuevoCcf = new javax.swing.JButton();
        btnEliminarCcf = new javax.swing.JButton();
        PanelMinimumCustomerFieldsDTO = new javax.swing.JPanel();
        panelCamposMcf = new javax.swing.JPanel();
        panelIzqMcf = new javax.swing.JPanel();
        jScrollPane5 = new javax.swing.JScrollPane();
        panelIzqMcf2 = new javax.swing.JPanel();
        lblMcfComentarios1 = new javax.swing.JLabel();
        scrollComentMcf1 = new javax.swing.JScrollPane();
        comentariosMcfDTO = new javax.swing.JTextArea();
        PanelChksMcfDTO = new javax.swing.JPanel();
        lblMcfName = new javax.swing.JLabel();
        lblMcfSurname = new javax.swing.JLabel();
        lblMcfBirthdate = new javax.swing.JLabel();
        lblMcfDNI = new javax.swing.JLabel();
        lblMcfCategory = new javax.swing.JLabel();
        lblMcfExpirationDate = new javax.swing.JLabel();
        chkMcfNameShow = new javax.swing.JCheckBox();
        lblMcfTxtShow1 = new javax.swing.JLabel();
        chkMcfSurnameShow = new javax.swing.JCheckBox();
        chkMcfDniShow = new javax.swing.JCheckBox();
        chkMcfBirthdateShow = new javax.swing.JCheckBox();
        chkMcfCategoryShow = new javax.swing.JCheckBox();
        chkMcfExpirationDateShow = new javax.swing.JCheckBox();
        jPanel1 = new javax.swing.JPanel();
        panelDerechaMcf = new javax.swing.JPanel();
        jLabel6 = new javax.swing.JLabel();
        scrollMcf = new javax.swing.JScrollPane();
        ListaMcf = new javax.swing.JList();
        panelMedioMcf = new javax.swing.JPanel();
        panelBotonesMcf = new javax.swing.JPanel();
        btnGuardarMcf = new javax.swing.JButton();
        btnNuevoMcf = new javax.swing.JButton();
        btnEliminarMcf = new javax.swing.JButton();
        PanelNetDTO = new javax.swing.JPanel();
        jPanel16 = new javax.swing.JPanel();
        jPanel17 = new javax.swing.JPanel();
        jLabel12 = new javax.swing.JLabel();
        campoMail = new javax.swing.JTextField();
        jPanel18 = new javax.swing.JPanel();
        jLabel13 = new javax.swing.JLabel();
        campoTelephone = new javax.swing.JTextField();
        jPanel19 = new javax.swing.JPanel();
        jLabel14 = new javax.swing.JLabel();
        campoNetDescription = new javax.swing.JTextField();
        jPanel20 = new javax.swing.JPanel();
        jLabel15 = new javax.swing.JLabel();
        campoNetName = new javax.swing.JTextField();
        btnGuardarNet = new javax.swing.JButton();
        PanelCategoryDTO = new javax.swing.JPanel();
        jPanel26 = new javax.swing.JPanel();
        jPanel28 = new javax.swing.JPanel();
        jLabel21 = new javax.swing.JLabel();
        campoInitialCharge = new javax.swing.JTextField();
        jPanel29 = new javax.swing.JPanel();
        jLabel22 = new javax.swing.JLabel();
        campoCampaignID = new javax.swing.JTextField();
        jPanel30 = new javax.swing.JPanel();
        jLabel23 = new javax.swing.JLabel();
        campoNameCategory = new javax.swing.JTextField();
        btnGuardarCategoty = new javax.swing.JButton();
        PanelResultados = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        TxtSalida = new javax.swing.JTextArea();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jLabel1.setText("Nombre del metodo a ejectutar");

        btnEjecutar.setText("Ejecutar");
        btnEjecutar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEjecutarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelIngresaMetodoLayout = new javax.swing.GroupLayout(panelIngresaMetodo);
        panelIngresaMetodo.setLayout(panelIngresaMetodoLayout);
        panelIngresaMetodoLayout.setHorizontalGroup(
            panelIngresaMetodoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 730, Short.MAX_VALUE)
            .addGroup(panelIngresaMetodoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(panelIngresaMetodoLayout.createSequentialGroup()
                    .addGap(51, 51, 51)
                    .addComponent(jLabel1)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(campoMetodo, javax.swing.GroupLayout.PREFERRED_SIZE, 256, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(btnEjecutar)
                    .addContainerGap(185, Short.MAX_VALUE)))
        );
        panelIngresaMetodoLayout.setVerticalGroup(
            panelIngresaMetodoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 78, Short.MAX_VALUE)
            .addGroup(panelIngresaMetodoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(panelIngresaMetodoLayout.createSequentialGroup()
                    .addGap(27, 27, 27)
                    .addGroup(panelIngresaMetodoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel1)
                        .addComponent(campoMetodo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(btnEjecutar))
                    .addContainerGap(28, Short.MAX_VALUE)))
        );

        jLabel2.setText("Elija el método de WS a ejecutar");

        btnEjecutaCombo.setText("Ejecutar");
        btnEjecutaCombo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEjecutaComboActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelElijeMetodoLayout = new javax.swing.GroupLayout(panelElijeMetodo);
        panelElijeMetodo.setLayout(panelElijeMetodoLayout);
        panelElijeMetodoLayout.setHorizontalGroup(
            panelElijeMetodoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelElijeMetodoLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(comboMétodos, 0, 466, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnEjecutaCombo)
                .addContainerGap())
        );
        panelElijeMetodoLayout.setVerticalGroup(
            panelElijeMetodoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelElijeMetodoLayout.createSequentialGroup()
                .addGap(26, 26, 26)
                .addGroup(panelElijeMetodoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(comboMétodos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel2)
                    .addComponent(btnEjecutaCombo))
                .addContainerGap(30, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout PanelMetodosLayout = new javax.swing.GroupLayout(PanelMetodos);
        PanelMetodos.setLayout(PanelMetodosLayout);
        PanelMetodosLayout.setHorizontalGroup(
            PanelMetodosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelIngresaMetodo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(panelElijeMetodo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        PanelMetodosLayout.setVerticalGroup(
            PanelMetodosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelMetodosLayout.createSequentialGroup()
                .addComponent(panelIngresaMetodo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelElijeMetodo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(212, Short.MAX_VALUE))
        );

        pestanias.addTab("Metodos", PanelMetodos);

        panel1.setLayout(new java.awt.BorderLayout());

        panelIzq.setPreferredSize(new java.awt.Dimension(354, 262));

        lblComentarios.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblComentarios.setText("Comentarios");

        lblActualPage.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblActualPage.setText("Actual Page");

        campoActualPage.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                campoActualPageActionPerformed(evt);
            }
        });

        lblInitLimit.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblInitLimit.setText("Init Limit");

        lblRecordsTotal.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblRecordsTotal.setText("Records Total");

        lblRowCount.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblRowCount.setText("Row Count");

        comentariosPagination.setColumns(20);
        comentariosPagination.setRows(5);
        jScrollPane3.setViewportView(comentariosPagination);

        lblCriteria.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblCriteria.setText("Criteria");

        lblOrder.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblOrder.setText("Order");

        lblORDERS.setFont(new java.awt.Font("Tahoma", 1, 11));
        lblORDERS.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblORDERS.setText("ORDERS:");

        javax.swing.GroupLayout panelIzqLayout = new javax.swing.GroupLayout(panelIzq);
        panelIzq.setLayout(panelIzqLayout);
        panelIzqLayout.setHorizontalGroup(
            panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelIzqLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(panelIzqLayout.createSequentialGroup()
                        .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panelIzqLayout.createSequentialGroup()
                                .addGap(2, 2, 2)
                                .addComponent(lblRowCount, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(lblInitLimit, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblRecordsTotal, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(lblActualPage, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(campoRowCount, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 238, Short.MAX_VALUE)
                            .addComponent(campoActualPage, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(campoInitLimit, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 238, Short.MAX_VALUE)
                            .addComponent(campoRecordsTotal, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 238, Short.MAX_VALUE)))
                    .addGroup(panelIzqLayout.createSequentialGroup()
                        .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(lblComentarios)
                            .addComponent(lblORDERS, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(panelIzqLayout.createSequentialGroup()
                                .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(lblOrder, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(lblCriteria, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(campoCriteria, javax.swing.GroupLayout.DEFAULT_SIZE, 165, Short.MAX_VALUE)
                                    .addComponent(campoOrder, javax.swing.GroupLayout.DEFAULT_SIZE, 165, Short.MAX_VALUE)))
                            .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 237, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addGap(119, 119, 119))
        );

        panelIzqLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {campoActualPage, campoInitLimit, campoRecordsTotal, campoRowCount});

        panelIzqLayout.setVerticalGroup(
            panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelIzqLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoActualPage, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblActualPage))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoInitLimit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblInitLimit))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoRecordsTotal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblRecordsTotal))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoRowCount, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblRowCount))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoCriteria, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblCriteria)
                    .addComponent(lblORDERS))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblOrder)
                    .addComponent(campoOrder, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(9, 9, 9)
                .addGroup(panelIzqLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblComentarios)
                    .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 110, Short.MAX_VALUE))
                .addContainerGap())
        );

        panel1.add(panelIzq, java.awt.BorderLayout.CENTER);

        jLabel3.setText("Elementos leidos del XML:");

        ListaPagination.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
            public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
                ListaPaginationValueChanged(evt);
            }
        });
        scrollPagination.setViewportView(ListaPagination);

        javax.swing.GroupLayout panel2Layout = new javax.swing.GroupLayout(panel2);
        panel2.setLayout(panel2Layout);
        panel2Layout.setHorizontalGroup(
            panel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panel2Layout.createSequentialGroup()
                .addGap(38, 38, 38)
                .addComponent(jLabel3)
                .addContainerGap(210, Short.MAX_VALUE))
            .addComponent(scrollPagination, javax.swing.GroupLayout.DEFAULT_SIZE, 370, Short.MAX_VALUE)
        );
        panel2Layout.setVerticalGroup(
            panel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(scrollPagination, javax.swing.GroupLayout.DEFAULT_SIZE, 226, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout panelCamposLayout = new javax.swing.GroupLayout(panelCampos);
        panelCampos.setLayout(panelCamposLayout);
        panelCamposLayout.setHorizontalGroup(
            panelCamposLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelCamposLayout.createSequentialGroup()
                .addComponent(panel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        panelCamposLayout.setVerticalGroup(
            panelCamposLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panel1, javax.swing.GroupLayout.DEFAULT_SIZE, 296, Short.MAX_VALUE)
            .addGroup(panelCamposLayout.createSequentialGroup()
                .addComponent(panel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(39, Short.MAX_VALUE))
        );

        btnGuardarPagination.setText("Guardar");
        btnGuardarPagination.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnGuardarPaginationActionPerformed(evt);
            }
        });
        panelBotones.add(btnGuardarPagination);

        btnNuevoPagination.setText("Nuevo");
        btnNuevoPagination.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnNuevoPaginationActionPerformed(evt);
            }
        });
        panelBotones.add(btnNuevoPagination);

        btnEliminarPagination.setText("Eliminar");
        btnEliminarPagination.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEliminarPaginationActionPerformed(evt);
            }
        });
        panelBotones.add(btnEliminarPagination);

        javax.swing.GroupLayout panelMedioLayout = new javax.swing.GroupLayout(panelMedio);
        panelMedio.setLayout(panelMedioLayout);
        panelMedioLayout.setHorizontalGroup(
            panelMedioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 730, Short.MAX_VALUE)
            .addGroup(panelMedioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(panelMedioLayout.createSequentialGroup()
                    .addComponent(panelBotones, javax.swing.GroupLayout.PREFERRED_SIZE, 365, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(365, Short.MAX_VALUE)))
        );
        panelMedioLayout.setVerticalGroup(
            panelMedioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 73, Short.MAX_VALUE)
            .addGroup(panelMedioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(panelBotones, javax.swing.GroupLayout.DEFAULT_SIZE, 73, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout PanelPaginationDTOLayout = new javax.swing.GroupLayout(PanelPaginationDTO);
        PanelPaginationDTO.setLayout(PanelPaginationDTOLayout);
        PanelPaginationDTOLayout.setHorizontalGroup(
            PanelPaginationDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelCampos, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(panelMedio, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        PanelPaginationDTOLayout.setVerticalGroup(
            PanelPaginationDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelPaginationDTOLayout.createSequentialGroup()
                .addComponent(panelCampos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelMedio, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pestanias.addTab("PaginationDTO", PanelPaginationDTO);

        panelIzqCamp.setLayout(new java.awt.BorderLayout());

        jScrollPane2.setPreferredSize(new java.awt.Dimension(100, 300));

        panelIzqCampaign.setPreferredSize(new java.awt.Dimension(394, 580));

        lblComentarios1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblComentarios1.setText("Comentarios");

        lblAmountDaysExpiration.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblAmountDaysExpiration.setText("amountDaysExpiration");

        campoAmountDaysExpiration.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                campoAmountDaysExpirationActionPerformed(evt);
            }
        });

        lblAmountLastMovements.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblAmountLastMovements.setText("amountLastMovements");

        lblAmountPrizes.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblAmountPrizes.setText("amountPrizes");

        lblCreditsTag.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblCreditsTag.setText("creditsTag");

        comentariosCampaignDTO.setColumns(20);
        comentariosCampaignDTO.setRows(5);
        scrollComentPagination.setViewportView(comentariosCampaignDTO);

        lblDescriptionCampaign.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblDescriptionCampaign.setText("description");

        lblDirLogo.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblDirLogo.setText("dirLogo");

        lblName.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblName.setText("name");

        lblLocalCurrencyConversion.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblLocalCurrencyConversion.setText("localCurrencyConversion");

        lblPointsTag.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblPointsTag.setText("pointsTag");

        lblTypesCards.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblTypesCards.setText("typesCards");

        lblOtrosDTOs.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblOtrosDTOs.setText("Otros DTOs que se leeran:");

        txtOtrosDTOs.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        txtOtrosDTOs.setText("<html>CompleteCustomerFieldsDTO<br>MinimumCustomerFieldsDTO<br>ShopByCampaignBehaviorDTO<br>CampaignTicketDTO </html>");
        txtOtrosDTOs.setAutoscrolls(true);
        txtOtrosDTOs.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));

        javax.swing.GroupLayout panelIzqCampaignLayout = new javax.swing.GroupLayout(panelIzqCampaign);
        panelIzqCampaign.setLayout(panelIzqCampaignLayout);
        panelIzqCampaignLayout.setHorizontalGroup(
            panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelIzqCampaignLayout.createSequentialGroup()
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addGroup(panelIzqCampaignLayout.createSequentialGroup()
                            .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(lblCreditsTag, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblDescriptionCampaign, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblDirLogo, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblName, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblPointsTag, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblTypesCards, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblLocalCurrencyConversion)
                                .addComponent(lblAmountPrizes, javax.swing.GroupLayout.DEFAULT_SIZE, 143, Short.MAX_VALUE))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED))
                        .addGroup(panelIzqCampaignLayout.createSequentialGroup()
                            .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(lblAmountLastMovements, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblAmountDaysExpiration))
                            .addGap(9, 9, 9)))
                    .addGroup(panelIzqCampaignLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(lblOtrosDTOs)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(txtOtrosDTOs, javax.swing.GroupLayout.DEFAULT_SIZE, 257, Short.MAX_VALUE)
                    .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(campoTypesCards)
                        .addComponent(campoPointsTag)
                        .addComponent(campoLocalCurrencyConversion)
                        .addComponent(campoNameCamp)
                        .addComponent(campoDirLogo, javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(campoDescriptionCampaign, javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(campoCreditsTag, javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(campoAmountLastMovements, javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(campoAmountDaysExpiration, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 216, Short.MAX_VALUE)
                        .addComponent(campoAmountPrizes, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 248, Short.MAX_VALUE)))
                .addGap(20, 20, 20))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelIzqCampaignLayout.createSequentialGroup()
                .addGap(94, 94, 94)
                .addComponent(lblComentarios1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(scrollComentPagination, javax.swing.GroupLayout.DEFAULT_SIZE, 262, Short.MAX_VALUE)
                .addContainerGap())
        );
        panelIzqCampaignLayout.setVerticalGroup(
            panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelIzqCampaignLayout.createSequentialGroup()
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoAmountDaysExpiration, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblAmountDaysExpiration))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoAmountLastMovements, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblAmountLastMovements))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoAmountPrizes, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblAmountPrizes))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoCreditsTag, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblCreditsTag))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoDescriptionCampaign, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblDescriptionCampaign))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoDirLogo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblDirLogo))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoNameCamp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblName))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoLocalCurrencyConversion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblLocalCurrencyConversion))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoPointsTag, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblPointsTag))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(campoTypesCards, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblTypesCards))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblOtrosDTOs)
                    .addComponent(txtOtrosDTOs, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqCampaignLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(scrollComentPagination, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblComentarios1))
                .addContainerGap(142, Short.MAX_VALUE))
        );

        jScrollPane2.setViewportView(panelIzqCampaign);

        panelIzqCamp.add(jScrollPane2, java.awt.BorderLayout.PAGE_START);

        jLabel4.setText("Elementos leidos del XML:");

        ListaCampaign.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
            public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
                ListaCampaignValueChanged(evt);
            }
        });
        scrollPagination1.setViewportView(ListaCampaign);

        javax.swing.GroupLayout panelDerechaLayout = new javax.swing.GroupLayout(panelDerecha);
        panelDerecha.setLayout(panelDerechaLayout);
        panelDerechaLayout.setHorizontalGroup(
            panelDerechaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelDerechaLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelDerechaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(scrollPagination1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 264, Short.MAX_VALUE)
                    .addGroup(panelDerechaLayout.createSequentialGroup()
                        .addComponent(jLabel4)
                        .addContainerGap(142, Short.MAX_VALUE))))
        );
        panelDerechaLayout.setVerticalGroup(
            panelDerechaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelDerechaLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel4)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(scrollPagination1, javax.swing.GroupLayout.DEFAULT_SIZE, 274, Short.MAX_VALUE)
                .addContainerGap())
        );

        javax.swing.GroupLayout panelCampos1Layout = new javax.swing.GroupLayout(panelCampos1);
        panelCampos1.setLayout(panelCampos1Layout);
        panelCampos1Layout.setHorizontalGroup(
            panelCampos1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelCampos1Layout.createSequentialGroup()
                .addComponent(panelIzqCamp, javax.swing.GroupLayout.DEFAULT_SIZE, 450, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelDerecha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );
        panelCampos1Layout.setVerticalGroup(
            panelCampos1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelDerecha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
            .addGroup(panelCampos1Layout.createSequentialGroup()
                .addComponent(panelIzqCamp, javax.swing.GroupLayout.DEFAULT_SIZE, 305, Short.MAX_VALUE)
                .addContainerGap())
        );

        btnGuardarCampaign.setText("Guardar");
        btnGuardarCampaign.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnGuardarCampaignActionPerformed(evt);
            }
        });
        panelBotones1.add(btnGuardarCampaign);

        btnNuevoCampaign.setText("Nuevo");
        btnNuevoCampaign.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnNuevoCampaignActionPerformed(evt);
            }
        });
        panelBotones1.add(btnNuevoCampaign);

        btnEliminarCampaign.setText("Eliminar");
        btnEliminarCampaign.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEliminarCampaignActionPerformed(evt);
            }
        });
        panelBotones1.add(btnEliminarCampaign);

        javax.swing.GroupLayout panelMedio1Layout = new javax.swing.GroupLayout(panelMedio1);
        panelMedio1.setLayout(panelMedio1Layout);
        panelMedio1Layout.setHorizontalGroup(
            panelMedio1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelMedio1Layout.createSequentialGroup()
                .addComponent(panelBotones1, javax.swing.GroupLayout.PREFERRED_SIZE, 365, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(365, Short.MAX_VALUE))
        );
        panelMedio1Layout.setVerticalGroup(
            panelMedio1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelBotones1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        javax.swing.GroupLayout PanelCampaignDTOLayout = new javax.swing.GroupLayout(PanelCampaignDTO);
        PanelCampaignDTO.setLayout(PanelCampaignDTOLayout);
        PanelCampaignDTOLayout.setHorizontalGroup(
            PanelCampaignDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelCampos1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(panelMedio1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        PanelCampaignDTOLayout.setVerticalGroup(
            PanelCampaignDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PanelCampaignDTOLayout.createSequentialGroup()
                .addComponent(panelCampos1, javax.swing.GroupLayout.DEFAULT_SIZE, 307, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelMedio1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(29, 29, 29))
        );

        pestanias.addTab("CampaignDTO", PanelCampaignDTO);

        panelIzqCamp1.setLayout(new java.awt.BorderLayout());

        jScrollPane4.setPreferredSize(new java.awt.Dimension(100, 300));

        panelIzqCompCustFields.setPreferredSize(new java.awt.Dimension(394, 580));

        lblCcfComentarios.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblCcfComentarios.setText("Comentarios");

        comentariosCcfDTO.setColumns(20);
        comentariosCcfDTO.setRows(5);
        scrollComentCcf.setViewportView(comentariosCcfDTO);

        PanelChksCcfDTO.setLayout(new java.awt.GridBagLayout());

        lblCcfName.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfName.setText("Name");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        PanelChksCcfDTO.add(lblCcfName, gridBagConstraints);

        lblCcfNotes.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfNotes.setText("Notes");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 14;
        PanelChksCcfDTO.add(lblCcfNotes, gridBagConstraints);

        lblCcfSurname.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfSurname.setText("Surname");
        lblCcfSurname.setAutoscrolls(true);
        lblCcfSurname.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        PanelChksCcfDTO.add(lblCcfSurname, gridBagConstraints);

        lblCcfBirthdate.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfBirthdate.setText("Birthdate");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 4;
        PanelChksCcfDTO.add(lblCcfBirthdate, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 1;
        PanelChksCcfDTO.add(chkNameMand, gridBagConstraints);

        lblCcfDNI.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfDNI.setText("DNI");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 3;
        PanelChksCcfDTO.add(lblCcfDNI, gridBagConstraints);

        lblCcfGeoLevels.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfGeoLevels.setText("GeoLevels");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 5;
        PanelChksCcfDTO.add(lblCcfGeoLevels, gridBagConstraints);

        lblCcfPrivacy.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfPrivacy.setText("Privacy");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 6;
        PanelChksCcfDTO.add(lblCcfPrivacy, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkNameShow, gridBagConstraints);

        lblCcfGender.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfGender.setText("Gender");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 7;
        PanelChksCcfDTO.add(lblCcfGender, gridBagConstraints);

        lblZipCode.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblZipCode.setText("ZipCode");
        lblZipCode.setAutoscrolls(true);
        lblZipCode.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 8;
        PanelChksCcfDTO.add(lblZipCode, gridBagConstraints);

        lblCcfCountry.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfCountry.setText("Country");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 9;
        PanelChksCcfDTO.add(lblCcfCountry, gridBagConstraints);

        lblCcfTelephone.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfTelephone.setText("Telephone");
        lblCcfTelephone.setAutoscrolls(true);
        lblCcfTelephone.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 10;
        PanelChksCcfDTO.add(lblCcfTelephone, gridBagConstraints);

        lblCcfAdress.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfAdress.setText("Address");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 11;
        PanelChksCcfDTO.add(lblCcfAdress, gridBagConstraints);

        lblCcfMobile.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfMobile.setText("Mobile");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 12;
        PanelChksCcfDTO.add(lblCcfMobile, gridBagConstraints);

        lblCcfEmail.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblCcfEmail.setText("Email");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 13;
        PanelChksCcfDTO.add(lblCcfEmail, gridBagConstraints);

        lblCcfTxtShow.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblCcfTxtShow.setText("Show");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.insets = new java.awt.Insets(0, 17, 0, 17);
        PanelChksCcfDTO.add(lblCcfTxtShow, gridBagConstraints);

        lblCcfTxtMandatory.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblCcfTxtMandatory.setText("Mandatory");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        PanelChksCcfDTO.add(lblCcfTxtMandatory, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 2;
        PanelChksCcfDTO.add(chkSurnameMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkSurnameShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 3;
        PanelChksCcfDTO.add(chkDniMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 3;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkDniShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 4;
        PanelChksCcfDTO.add(chkBirthdateMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkBirthdateShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 5;
        PanelChksCcfDTO.add(chkGeoLevelsMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 5;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkGeoLevelsShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 6;
        PanelChksCcfDTO.add(chkPrivacyMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkPrivacyShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 7;
        PanelChksCcfDTO.add(chkGenderMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 7;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkGenderShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 8;
        PanelChksCcfDTO.add(chkZipCodeMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkZipCodeShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 9;
        PanelChksCcfDTO.add(chkCountryMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 9;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkCountryShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 10;
        PanelChksCcfDTO.add(chkTelephoneMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkTelephoneShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 11;
        PanelChksCcfDTO.add(chkAddressMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 11;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkAddressShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 12;
        PanelChksCcfDTO.add(chkMobileMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkMobileShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 13;
        PanelChksCcfDTO.add(chkEmailMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 13;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkEmailShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 14;
        PanelChksCcfDTO.add(chkNotesMand, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.gridwidth = 2;
        PanelChksCcfDTO.add(chkNotesShow, gridBagConstraints);

        javax.swing.GroupLayout panelIzqCompCustFieldsLayout = new javax.swing.GroupLayout(panelIzqCompCustFields);
        panelIzqCompCustFields.setLayout(panelIzqCompCustFieldsLayout);
        panelIzqCompCustFieldsLayout.setHorizontalGroup(
            panelIzqCompCustFieldsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelIzqCompCustFieldsLayout.createSequentialGroup()
                .addGroup(panelIzqCompCustFieldsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelIzqCompCustFieldsLayout.createSequentialGroup()
                        .addGap(93, 93, 93)
                        .addComponent(PanelChksCcfDTO, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panelIzqCompCustFieldsLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(lblCcfComentarios)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(scrollComentCcf, javax.swing.GroupLayout.PREFERRED_SIZE, 313, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(43, Short.MAX_VALUE))
        );
        panelIzqCompCustFieldsLayout.setVerticalGroup(
            panelIzqCompCustFieldsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelIzqCompCustFieldsLayout.createSequentialGroup()
                .addComponent(PanelChksCcfDTO, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqCompCustFieldsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblCcfComentarios)
                    .addComponent(scrollComentCcf, javax.swing.GroupLayout.PREFERRED_SIZE, 138, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(128, Short.MAX_VALUE))
        );

        jScrollPane4.setViewportView(panelIzqCompCustFields);

        panelIzqCamp1.add(jScrollPane4, java.awt.BorderLayout.PAGE_START);

        jLabel5.setText("Elementos leidos del XML:");

        ListaCcf.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
            public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
                ListaCcfValueChanged(evt);
            }
        });
        scrollCcf.setViewportView(ListaCcf);

        javax.swing.GroupLayout panelDerechaCcfLayout = new javax.swing.GroupLayout(panelDerechaCcf);
        panelDerechaCcf.setLayout(panelDerechaCcfLayout);
        panelDerechaCcfLayout.setHorizontalGroup(
            panelDerechaCcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelDerechaCcfLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelDerechaCcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(scrollCcf, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 264, Short.MAX_VALUE)
                    .addGroup(panelDerechaCcfLayout.createSequentialGroup()
                        .addComponent(jLabel5)
                        .addContainerGap(142, Short.MAX_VALUE))))
        );
        panelDerechaCcfLayout.setVerticalGroup(
            panelDerechaCcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelDerechaCcfLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel5)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(scrollCcf, javax.swing.GroupLayout.DEFAULT_SIZE, 275, Short.MAX_VALUE)
                .addContainerGap())
        );

        javax.swing.GroupLayout panelCampos2Layout = new javax.swing.GroupLayout(panelCampos2);
        panelCampos2.setLayout(panelCampos2Layout);
        panelCampos2Layout.setHorizontalGroup(
            panelCampos2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelCampos2Layout.createSequentialGroup()
                .addComponent(panelIzqCamp1, javax.swing.GroupLayout.DEFAULT_SIZE, 450, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelDerechaCcf, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );
        panelCampos2Layout.setVerticalGroup(
            panelCampos2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelDerechaCcf, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(panelIzqCamp1, javax.swing.GroupLayout.DEFAULT_SIZE, 317, Short.MAX_VALUE)
        );

        btnGuardarCcf.setText("Guardar");
        btnGuardarCcf.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnGuardarCcfActionPerformed(evt);
            }
        });
        panelBotonesCcf.add(btnGuardarCcf);

        btnNuevoCcf.setText("Nuevo");
        btnNuevoCcf.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnNuevoCcfActionPerformed(evt);
            }
        });
        panelBotonesCcf.add(btnNuevoCcf);

        btnEliminarCcf.setText("Eliminar");
        btnEliminarCcf.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEliminarCcfActionPerformed(evt);
            }
        });
        panelBotonesCcf.add(btnEliminarCcf);

        javax.swing.GroupLayout panelMedioCcfLayout = new javax.swing.GroupLayout(panelMedioCcf);
        panelMedioCcf.setLayout(panelMedioCcfLayout);
        panelMedioCcfLayout.setHorizontalGroup(
            panelMedioCcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelMedioCcfLayout.createSequentialGroup()
                .addComponent(panelBotonesCcf, javax.swing.GroupLayout.PREFERRED_SIZE, 365, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(365, Short.MAX_VALUE))
        );
        panelMedioCcfLayout.setVerticalGroup(
            panelMedioCcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelMedioCcfLayout.createSequentialGroup()
                .addComponent(panelBotonesCcf, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout PanelCompleteCustomerFieldsDTOLayout = new javax.swing.GroupLayout(PanelCompleteCustomerFieldsDTO);
        PanelCompleteCustomerFieldsDTO.setLayout(PanelCompleteCustomerFieldsDTOLayout);
        PanelCompleteCustomerFieldsDTOLayout.setHorizontalGroup(
            PanelCompleteCustomerFieldsDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelCampos2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(panelMedioCcf, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        PanelCompleteCustomerFieldsDTOLayout.setVerticalGroup(
            PanelCompleteCustomerFieldsDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PanelCompleteCustomerFieldsDTOLayout.createSequentialGroup()
                .addComponent(panelCampos2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(panelMedioCcf, javax.swing.GroupLayout.PREFERRED_SIZE, 47, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pestanias.addTab("CompleteCustomerFieldsDTO", PanelCompleteCustomerFieldsDTO);

        panelIzqMcf.setLayout(new java.awt.BorderLayout());

        jScrollPane5.setPreferredSize(new java.awt.Dimension(100, 300));

        panelIzqMcf2.setPreferredSize(new java.awt.Dimension(394, 580));

        lblMcfComentarios1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblMcfComentarios1.setText("Comentarios");

        comentariosMcfDTO.setColumns(20);
        comentariosMcfDTO.setRows(5);
        scrollComentMcf1.setViewportView(comentariosMcfDTO);

        PanelChksMcfDTO.setLayout(new java.awt.GridBagLayout());

        lblMcfName.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblMcfName.setText("Name");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        PanelChksMcfDTO.add(lblMcfName, gridBagConstraints);

        lblMcfSurname.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblMcfSurname.setText("Surname");
        lblMcfSurname.setAutoscrolls(true);
        lblMcfSurname.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        PanelChksMcfDTO.add(lblMcfSurname, gridBagConstraints);

        lblMcfBirthdate.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblMcfBirthdate.setText("Birthdate");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 4;
        PanelChksMcfDTO.add(lblMcfBirthdate, gridBagConstraints);

        lblMcfDNI.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblMcfDNI.setText("DNI");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 3;
        PanelChksMcfDTO.add(lblMcfDNI, gridBagConstraints);

        lblMcfCategory.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblMcfCategory.setText("Category");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 5;
        PanelChksMcfDTO.add(lblMcfCategory, gridBagConstraints);

        lblMcfExpirationDate.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
        lblMcfExpirationDate.setText("ExpirationDate");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 6;
        PanelChksMcfDTO.add(lblMcfExpirationDate, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.gridwidth = 2;
        PanelChksMcfDTO.add(chkMcfNameShow, gridBagConstraints);

        lblMcfTxtShow1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblMcfTxtShow1.setText("Show");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.insets = new java.awt.Insets(0, 17, 0, 17);
        PanelChksMcfDTO.add(lblMcfTxtShow1, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.gridwidth = 2;
        PanelChksMcfDTO.add(chkMcfSurnameShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 3;
        gridBagConstraints.gridwidth = 2;
        PanelChksMcfDTO.add(chkMcfDniShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.gridwidth = 2;
        PanelChksMcfDTO.add(chkMcfBirthdateShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 5;
        gridBagConstraints.gridwidth = 2;
        PanelChksMcfDTO.add(chkMcfCategoryShow, gridBagConstraints);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.gridwidth = 2;
        PanelChksMcfDTO.add(chkMcfExpirationDateShow, gridBagConstraints);

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 100, Short.MAX_VALUE)
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 100, Short.MAX_VALUE)
        );

        javax.swing.GroupLayout panelIzqMcf2Layout = new javax.swing.GroupLayout(panelIzqMcf2);
        panelIzqMcf2.setLayout(panelIzqMcf2Layout);
        panelIzqMcf2Layout.setHorizontalGroup(
            panelIzqMcf2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelIzqMcf2Layout.createSequentialGroup()
                .addGroup(panelIzqMcf2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelIzqMcf2Layout.createSequentialGroup()
                        .addGap(93, 93, 93)
                        .addComponent(PanelChksMcfDTO, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panelIzqMcf2Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(lblMcfComentarios1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(scrollComentMcf1, javax.swing.GroupLayout.PREFERRED_SIZE, 313, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(43, Short.MAX_VALUE))
        );
        panelIzqMcf2Layout.setVerticalGroup(
            panelIzqMcf2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelIzqMcf2Layout.createSequentialGroup()
                .addGroup(panelIzqMcf2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(PanelChksMcfDTO, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(panelIzqMcf2Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelIzqMcf2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblMcfComentarios1)
                    .addComponent(scrollComentMcf1, javax.swing.GroupLayout.PREFERRED_SIZE, 138, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(296, Short.MAX_VALUE))
        );

        jScrollPane5.setViewportView(panelIzqMcf2);

        panelIzqMcf.add(jScrollPane5, java.awt.BorderLayout.PAGE_START);

        jLabel6.setText("Elementos leidos del XML:");

        ListaMcf.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
            public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
                ListaMcfValueChanged(evt);
            }
        });
        scrollMcf.setViewportView(ListaMcf);

        javax.swing.GroupLayout panelDerechaMcfLayout = new javax.swing.GroupLayout(panelDerechaMcf);
        panelDerechaMcf.setLayout(panelDerechaMcfLayout);
        panelDerechaMcfLayout.setHorizontalGroup(
            panelDerechaMcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelDerechaMcfLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelDerechaMcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(scrollMcf, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 264, Short.MAX_VALUE)
                    .addGroup(panelDerechaMcfLayout.createSequentialGroup()
                        .addComponent(jLabel6)
                        .addContainerGap(142, Short.MAX_VALUE))))
        );
        panelDerechaMcfLayout.setVerticalGroup(
            panelDerechaMcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelDerechaMcfLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel6)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(scrollMcf, javax.swing.GroupLayout.DEFAULT_SIZE, 275, Short.MAX_VALUE)
                .addContainerGap())
        );

        javax.swing.GroupLayout panelCamposMcfLayout = new javax.swing.GroupLayout(panelCamposMcf);
        panelCamposMcf.setLayout(panelCamposMcfLayout);
        panelCamposMcfLayout.setHorizontalGroup(
            panelCamposMcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelCamposMcfLayout.createSequentialGroup()
                .addComponent(panelIzqMcf, javax.swing.GroupLayout.DEFAULT_SIZE, 450, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelDerechaMcf, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );
        panelCamposMcfLayout.setVerticalGroup(
            panelCamposMcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelDerechaMcf, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(panelIzqMcf, javax.swing.GroupLayout.DEFAULT_SIZE, 317, Short.MAX_VALUE)
        );

        btnGuardarMcf.setText("Guardar");
        btnGuardarMcf.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnGuardarMcfActionPerformed(evt);
            }
        });
        panelBotonesMcf.add(btnGuardarMcf);

        btnNuevoMcf.setText("Nuevo");
        btnNuevoMcf.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnNuevoMcfActionPerformed(evt);
            }
        });
        panelBotonesMcf.add(btnNuevoMcf);

        btnEliminarMcf.setText("Eliminar");
        btnEliminarMcf.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEliminarMcfActionPerformed(evt);
            }
        });
        panelBotonesMcf.add(btnEliminarMcf);

        javax.swing.GroupLayout panelMedioMcfLayout = new javax.swing.GroupLayout(panelMedioMcf);
        panelMedioMcf.setLayout(panelMedioMcfLayout);
        panelMedioMcfLayout.setHorizontalGroup(
            panelMedioMcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelMedioMcfLayout.createSequentialGroup()
                .addComponent(panelBotonesMcf, javax.swing.GroupLayout.PREFERRED_SIZE, 365, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(365, Short.MAX_VALUE))
        );
        panelMedioMcfLayout.setVerticalGroup(
            panelMedioMcfLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelMedioMcfLayout.createSequentialGroup()
                .addComponent(panelBotonesMcf, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout PanelMinimumCustomerFieldsDTOLayout = new javax.swing.GroupLayout(PanelMinimumCustomerFieldsDTO);
        PanelMinimumCustomerFieldsDTO.setLayout(PanelMinimumCustomerFieldsDTOLayout);
        PanelMinimumCustomerFieldsDTOLayout.setHorizontalGroup(
            PanelMinimumCustomerFieldsDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelCamposMcf, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(panelMedioMcf, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        PanelMinimumCustomerFieldsDTOLayout.setVerticalGroup(
            PanelMinimumCustomerFieldsDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PanelMinimumCustomerFieldsDTOLayout.createSequentialGroup()
                .addComponent(panelCamposMcf, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(panelMedioMcf, javax.swing.GroupLayout.PREFERRED_SIZE, 47, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pestanias.addTab("MinimumCustomerFieldsDTO", PanelMinimumCustomerFieldsDTO);

        jLabel12.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel12.setText("Mail");

        javax.swing.GroupLayout jPanel17Layout = new javax.swing.GroupLayout(jPanel17);
        jPanel17.setLayout(jPanel17Layout);
        jPanel17Layout.setHorizontalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel17Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel12, javax.swing.GroupLayout.PREFERRED_SIZE, 174, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(campoMail, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(294, Short.MAX_VALUE))
        );
        jPanel17Layout.setVerticalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel17Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel12)
                    .addComponent(campoMail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(20, Short.MAX_VALUE))
        );

        jLabel13.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel13.setText("Telephone");

        javax.swing.GroupLayout jPanel18Layout = new javax.swing.GroupLayout(jPanel18);
        jPanel18.setLayout(jPanel18Layout);
        jPanel18Layout.setHorizontalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel18Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, 174, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(campoTelephone, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(294, Short.MAX_VALUE))
        );
        jPanel18Layout.setVerticalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel18Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel13)
                    .addComponent(campoTelephone, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(20, 20, 20))
        );

        jLabel14.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel14.setText("Description");

        javax.swing.GroupLayout jPanel19Layout = new javax.swing.GroupLayout(jPanel19);
        jPanel19.setLayout(jPanel19Layout);
        jPanel19Layout.setHorizontalGroup(
            jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel19Layout.createSequentialGroup()
                .addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, 174, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(campoNetDescription, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(298, Short.MAX_VALUE))
        );
        jPanel19Layout.setVerticalGroup(
            jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel19Layout.createSequentialGroup()
                .addContainerGap(19, Short.MAX_VALUE)
                .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel14)
                    .addComponent(campoNetDescription, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(19, 19, 19))
        );

        jLabel15.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel15.setText("Name");

        campoNetName.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                campoNetNameActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel20Layout = new javax.swing.GroupLayout(jPanel20);
        jPanel20.setLayout(jPanel20Layout);
        jPanel20Layout.setHorizontalGroup(
            jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel20Layout.createSequentialGroup()
                .addComponent(jLabel15, javax.swing.GroupLayout.PREFERRED_SIZE, 174, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(campoNetName, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(298, Short.MAX_VALUE))
        );
        jPanel20Layout.setVerticalGroup(
            jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel20Layout.createSequentialGroup()
                .addContainerGap(20, Short.MAX_VALUE)
                .addGroup(jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel15)
                    .addComponent(campoNetName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        javax.swing.GroupLayout jPanel16Layout = new javax.swing.GroupLayout(jPanel16);
        jPanel16.setLayout(jPanel16Layout);
        jPanel16Layout.setHorizontalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel16Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel17, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel18, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel19, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel20, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
        );
        jPanel16Layout.setVerticalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel16Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel20, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        btnGuardarNet.setText("Guardar");
        btnGuardarNet.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnGuardarNetActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout PanelNetDTOLayout = new javax.swing.GroupLayout(PanelNetDTO);
        PanelNetDTO.setLayout(PanelNetDTOLayout);
        PanelNetDTOLayout.setHorizontalGroup(
            PanelNetDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel16, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(PanelNetDTOLayout.createSequentialGroup()
                .addGap(281, 281, 281)
                .addComponent(btnGuardarNet)
                .addContainerGap(376, Short.MAX_VALUE))
        );
        PanelNetDTOLayout.setVerticalGroup(
            PanelNetDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelNetDTOLayout.createSequentialGroup()
                .addComponent(jPanel16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnGuardarNet)
                .addContainerGap(90, Short.MAX_VALUE))
        );

        pestanias.addTab("NetDto", PanelNetDTO);

        jLabel21.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel21.setText("Initial Charge");

        javax.swing.GroupLayout jPanel28Layout = new javax.swing.GroupLayout(jPanel28);
        jPanel28.setLayout(jPanel28Layout);
        jPanel28Layout.setHorizontalGroup(
            jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel28Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel21, javax.swing.GroupLayout.PREFERRED_SIZE, 174, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(campoInitialCharge, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(294, Short.MAX_VALUE))
        );
        jPanel28Layout.setVerticalGroup(
            jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel28Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel21)
                    .addComponent(campoInitialCharge, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(20, 20, 20))
        );

        jLabel22.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel22.setText("CampaignID");

        javax.swing.GroupLayout jPanel29Layout = new javax.swing.GroupLayout(jPanel29);
        jPanel29.setLayout(jPanel29Layout);
        jPanel29Layout.setHorizontalGroup(
            jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel29Layout.createSequentialGroup()
                .addComponent(jLabel22, javax.swing.GroupLayout.PREFERRED_SIZE, 174, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(campoCampaignID, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(298, Short.MAX_VALUE))
        );
        jPanel29Layout.setVerticalGroup(
            jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel29Layout.createSequentialGroup()
                .addContainerGap(19, Short.MAX_VALUE)
                .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel22)
                    .addComponent(campoCampaignID, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(19, 19, 19))
        );

        jLabel23.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel23.setText("Name");

        campoNameCategory.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                campoNameCategoryActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel30Layout = new javax.swing.GroupLayout(jPanel30);
        jPanel30.setLayout(jPanel30Layout);
        jPanel30Layout.setHorizontalGroup(
            jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel30Layout.createSequentialGroup()
                .addComponent(jLabel23, javax.swing.GroupLayout.PREFERRED_SIZE, 174, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(campoNameCategory, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(298, Short.MAX_VALUE))
        );
        jPanel30Layout.setVerticalGroup(
            jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel30Layout.createSequentialGroup()
                .addContainerGap(20, Short.MAX_VALUE)
                .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel23)
                    .addComponent(campoNameCategory, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        javax.swing.GroupLayout jPanel26Layout = new javax.swing.GroupLayout(jPanel26);
        jPanel26.setLayout(jPanel26Layout);
        jPanel26Layout.setHorizontalGroup(
            jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel26Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel28, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel29, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel30, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
        );
        jPanel26Layout.setVerticalGroup(
            jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel26Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel30, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel29, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel28, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(68, Short.MAX_VALUE))
        );

        btnGuardarCategoty.setText("Guardar");
        btnGuardarCategoty.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnGuardarCategotyActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout PanelCategoryDTOLayout = new javax.swing.GroupLayout(PanelCategoryDTO);
        PanelCategoryDTO.setLayout(PanelCategoryDTOLayout);
        PanelCategoryDTOLayout.setHorizontalGroup(
            PanelCategoryDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel26, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(PanelCategoryDTOLayout.createSequentialGroup()
                .addGap(281, 281, 281)
                .addComponent(btnGuardarCategoty)
                .addContainerGap(376, Short.MAX_VALUE))
        );
        PanelCategoryDTOLayout.setVerticalGroup(
            PanelCategoryDTOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelCategoryDTOLayout.createSequentialGroup()
                .addComponent(jPanel26, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnGuardarCategoty)
                .addContainerGap(90, Short.MAX_VALUE))
        );

        pestanias.addTab("CategoryDTO", PanelCategoryDTO);

        PanelResultados.setLayout(new java.awt.BorderLayout());

        TxtSalida.setColumns(20);
        TxtSalida.setEditable(false);
        TxtSalida.setRows(5);
        jScrollPane1.setViewportView(TxtSalida);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(pestanias)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 735, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(PanelResultados, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(pestanias, javax.swing.GroupLayout.PREFERRED_SIZE, 400, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(PanelResultados, javax.swing.GroupLayout.PREFERRED_SIZE, 191, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addComponent(jScrollPane1)))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

private void btnGuardarCategotyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGuardarCategotyActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnGuardarCategotyActionPerformed

private void campoNameCategoryActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_campoNameCategoryActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_campoNameCategoryActionPerformed

private void btnGuardarNetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGuardarNetActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnGuardarNetActionPerformed

private void campoNetNameActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_campoNetNameActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_campoNetNameActionPerformed

private void btnGuardarPaginationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGuardarPaginationActionPerformed
// TODO add your handling code here:
if (    getPagDTO().validaCamposPagination()){
    if (    getPagDTO().actualizaValoresEnDocPagination(getIdDelItemElegidoPagination())){        
                getPagDTO().guardaXMLpagination();
    }
  }
}//GEN-LAST:event_btnGuardarPaginationActionPerformed


public boolean eliminaSeleccionadoPagination() {
    boolean sePudo = false;
    Element e = getPagDTO().obtienePaginationElegido(getIdDelItemElegidoPagination());            
    if (e != null){
        Element rootNode = this.getPagDTO().getDocPagination().getRootElement();
        sePudo=rootNode.removeContent(e);
        if (sePudo){
                getPagDTO().guardaXMLpagination();                        
        }
    }        
    return sePudo;
}

public boolean eliminaSeleccionadoCcf() {
    boolean sePudo = false;
    Element e = getCcfDTO().obtieneCcfElegido(getIdDelItemElegidoCcf());            
    if (e != null){
        Element rootNode = this.getCcfDTO().getDocCcf().getRootElement();
        sePudo=rootNode.removeContent(e);
        if (sePudo){
                getCcfDTO().guardaXMLccf();                        
        }
    }        
    return sePudo;
}

public boolean eliminaSeleccionadoCampaign() {
    boolean sePudo = false;
    Element e = getCampDTO().obtieneCampaignElegido(getIdDelItemElegidoCampaign());            
    if (e != null){
        Element rootNode = this.getCampDTO().getDocCampaign().getRootElement();
        sePudo=rootNode.removeContent(e);
        if (sePudo){
                getCampDTO().guardaXMLcampaign();
        }
    }        
    return sePudo;
}

public boolean eliminaSeleccionadoMcf() {
    boolean sePudo = false;
    Element e = getMcfDTO().obtieneMcfElegido(getIdDelItemElegidoMcf());            
    if (e != null){
        Element rootNode = this.getMcfDTO().getDocMcf().getRootElement();
        sePudo=rootNode.removeContent(e);
        if (sePudo){
                getMcfDTO().guardaXMLmcf();
        }
    }        
    return sePudo;
}

public int getIdDelItemElegidoPagination() {
    ElementoPaginationDTO elemPagDto=(ElementoPaginationDTO)getListaPagination().getSelectedValue();
    if (elemPagDto != null){
        Element elemento = elemPagDto.getElementoPaginationDTO();    
        return Integer.valueOf(elemento.getAttributeValue("id"));        
    }
    else
        { return -1; }
}


public int getIdDelItemElegidoCcf() {
    ElementoCcfDTO elemCcfDto=(ElementoCcfDTO)getListaCcf().getSelectedValue();
    if (elemCcfDto != null){
        Element elemento = elemCcfDto.getElementoCcfDTO();    
        return Integer.valueOf(elemento.getAttributeValue("id"));        
    }
    else
        { return -1; }    
}

public int getIdDelItemElegidoMcf() {
    ElementoMcfDTO elemMcfDto=(ElementoMcfDTO)getListaMcf().getSelectedValue();
    if (elemMcfDto != null){
        Element elemento = elemMcfDto.getElementoMcfDTO();    
        return Integer.valueOf(elemento.getAttributeValue("id"));        
    }
    else
        { return -1; }    
}

public int getIdDelItemElegidoCampaign() {
    ElementoCampaignDTO elemCampDto=(ElementoCampaignDTO)getListaCampaign().getSelectedValue();
    if (elemCampDto != null){
        Element elemento = elemCampDto.getElementoCampaignDTO();    
        return Integer.valueOf(elemento.getAttributeValue("id"));        
    }
    else
        { return -1; }
}


private void campoActualPageActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_campoActualPageActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_campoActualPageActionPerformed

private void btnEjecutarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEjecutarActionPerformed
/*        Class clase = null;        
        String cad = this.campoMetodo.getText();
        if (cad.length()>1)
         { String original=cad.trim();
           cad=cad.replace("(", ""); 
           cad=cad.replace(")", ""); 
           String primeraLetra=cad.substring(0,1).toUpperCase();
           String elResto=cad.substring(1,cad.length());
           cad="otroPackage."+ primeraLetra+elResto;                                  
           try {clase = Class.forName( cad );
                Object objeto = null;
                try {
                    objeto = clase.newInstance();
                    } catch (InstantiationException ex) {
                        Logger.getLogger(FormDTOs.class.getName()).log(Level.SEVERE, null, ex);
                        //System.out.println("El metodo especificado no existe");
                    } catch (IllegalAccessException ex) {
                        Logger.getLogger(FormDTOs.class.getName()).log(Level.SEVERE, null, ex);
                    }
                    agregaTxtAsalida("Objeto creado: " + objeto.toString() );

                    try {
                        //Method metodo =  clase.getDeclaredMethod("getNombre2", String.class);
                        Method[] metodos =  clase.getDeclaredMethods();
                        try {
                            //Object respuesta = metodo[0].invoke(objeto);
                            if (metodos.length>0)
                            {   agregaTxtAsalida("Metodos de este objeto:");
                                for (int i=0;i<metodos.length;i++)
                                { agregaTxtAsalida(metodos[i].getName()); }
                            }
                            try {                                                                
                                     Class claseee= port.getClass();                                     
                                     Method m=claseee.getMethod(original.replace("(", "").replace(")", ""));
                                     GetCurrenciesAnswer gca=(GetCurrenciesAnswer)m.invoke(port);
                                     java.util.List<CurrencyDTO> lista=gca.getData();
                                     CurrencyDTO cdto1=lista.get(0);
                                     CurrencyDTO cdto2=lista.get(1);
                                     //System.out.println(cdto1.getCurrencyName()+"--"+cdto2.getCurrencyName());
                                     agregaTxtAsalida(cdto1.getCurrencyName()+"--"+cdto2.getCurrencyName());
                                } catch (NoSuchMethodException ex) {
                                    Logger.getLogger(FormDTOs.class.getName()).log(Level.SEVERE, null, ex);
                                } catch (SecurityException ex) {
                                    Logger.getLogger(FormDTOs.class.getName()).log(Level.SEVERE, null, ex);
                                } catch (IllegalAccessException ex) {
                                    Logger.getLogger(FormDTOs.class.getName()).log(Level.SEVERE, null, ex);
                                } catch (InvocationTargetException ex) {
                                    Logger.getLogger(FormDTOs.class.getName()).log(Level.SEVERE, null, ex);
                                }
                        } catch (IllegalArgumentException ex) {
                            Logger.getLogger(FormDTOs.class.getName()).log(Level.SEVERE, null, ex);
                        } 
                    } catch (SecurityException ex) {
                        Logger.getLogger(FormDTOs.class.getName()).log(Level.SEVERE, null, ex);
                    }
                
                } catch (ClassNotFoundException ex) {
                    //Logger.getLogger(FormDTOs.class.getName()).log(Level.SEVERE, null, ex);
                    agregaTxtAsalida("El metodo especificado no existe");
                }
         }        
        else 
          { //System.out.println("Ingrese un método válido"); 
            agregaTxtAsalida("El metodo especificado no existe");
          }  
*/
}//GEN-LAST:event_btnEjecutarActionPerformed

    public boolean containsOnlyNumbers(String str) {
        
        //It can't contain only numbers if it's null or empty...
        if (str == null || str.length() == 0)
            return false;
        
        for (int i = 0; i < str.length(); i++) {

            //If we find a non-digit character we return false.
            if (!Character.isDigit(str.charAt(i)))
                return false;
        }
        
        return true;
    }
    

public void leeXMLsyActualizaInterfaz() {
    DefaultListModel xmlpagination = getPagDTO().LeeXMLpagination();
    if ((xmlpagination) != null) {        
        getListaPagination().setModel(xmlpagination);        
        getListaPagination().setSelectedIndex(0);
        PaginationCargaDatosSegunElegido();                
    }
    else
    { agregaTxtAsalida("Error al leer XML de PaginationDTO"); }
    
    DefaultListModel xmlcampaign = getCampDTO().LeeXMLcampaign();
    if ((xmlcampaign) != null) {        
        getListaCampaign().setModel(xmlcampaign);        
        getListaCampaign().setSelectedIndex(0);
        CampaignCargaDatosSegunElegido();                
    }
    else
    { agregaTxtAsalida("Error al leer XML de CampaignDTO"); }    

    DefaultListModel xmlccf = getCcfDTO().LeeXMLccf();
    if ((xmlccf) != null) {        
        getListaCcf().setModel(xmlccf);        
        if (xmlccf.size()>0) {
            getListaCcf().setSelectedIndex(0);
            CcfCargaDatosSegunElegido();            
        }        
    }
    else
    { agregaTxtAsalida("Error al leer XML de CompleteCustomerFieldsDTO"); }    

    DefaultListModel xmlmcf = getMcfDTO().LeeXMLmcf();
    if ((xmlmcf) != null) {        
        getListaMcf().setModel(xmlmcf);        
        if (xmlmcf.size()>0) {
            getListaMcf().setSelectedIndex(0);
            McfCargaDatosSegunElegido();
        }
    }
    else
    { agregaTxtAsalida("Error al leer XML de MinimumCustomerFieldsDTO"); }     
}


public void PaginationCargaDatosSegunElegido() {
    Element e = getPagDTO().obtienePaginationElegido(getIdDelItemElegidoPagination());
    if (e != null){
            getCampoActualPage().setText(e.getChildText("actualPage"));
            getCampoInitLimit().setText(e.getChildText("initLimit"));
            getCampoRecordsTotal().setText(e.getChildText("recordsTotal"));
            getCampoRowCount().setText(e.getChildText("rowCount")); 
        Element orders = e.getChild("orders");
        if (orders != null) {
                getCampoCriteria().setText(e.getChild("orders").getChildText("criteria"));    
                getCampoOrder().setText(e.getChild("orders").getChildText("order"));                
        }
        else {
                getCampoCriteria().setText("");    
                getCampoOrder().setText("");                
        }
            getComentariosPagination().setText(e.getAttributeValue("descripcion"));
    }
}
 

public void CampaignCargaDatosSegunElegido() {
    Element e = getCampDTO().obtieneCampaignElegido(getIdDelItemElegidoCampaign());
    if (e != null){
        getCampoAmountDaysExpiration().setText(e.getChildText("amountDaysExpiration"));
        getCampoAmountLastMovements().setText(e.getChildText("amountLastMovements"));
        getCampoAmountPrizes().setText(e.getChildText("amountPrizes"));
        getCampoCreditsTag().setText(e.getChildText("creditsTag"));
        getCampoDescriptionCampaign().setText(e.getChildText("descriptionCampaign")); 
        getCampoDirLogo().setText(e.getChildText("dirLogo"));
        getCampoNameCamp().setText(e.getChildText("nameCamp"));
        getCampoLocalCurrencyConversion().setText(e.getChildText("localCurrencyConversion"));
        getCampoPointsTag().setText(e.getChildText("pointsTag"));
        getCampoTypesCards().setText(e.getChildText("typesCards")); 
        getComentariosCampaignDTO().setText(e.getAttributeValue("descripcion"));           
    }
}

public void CcfCargaDatosSegunElegido() { 
    Element e = getCcfDTO().obtieneCcfElegido(getIdDelItemElegidoCcf());
    if (e != null){
        getChkAddressMand().setSelected(Boolean.valueOf(e.getChild("address").getAttributeValue("Mandatory")));
        getChkAddressShow().setSelected(Boolean.valueOf(e.getChild("address").getAttributeValue("Show")));
        getChkBirthdateMand().setSelected(Boolean.valueOf(e.getChild("birthdate").getAttributeValue("Mandatory")));
        getChkBirthdateShow().setSelected(Boolean.valueOf(e.getChild("birthdate").getAttributeValue("Show")));
        getChkCountryMand().setSelected(Boolean.valueOf(e.getChild("country").getAttributeValue("Mandatory")));
        getChkCountryShow().setSelected(Boolean.valueOf(e.getChild("country").getAttributeValue("Show")));
        getChkDniMand().setSelected(Boolean.valueOf(e.getChild("dni").getAttributeValue("Mandatory")));
        getChkDniShow().setSelected(Boolean.valueOf(e.getChild("dni").getAttributeValue("Show")));
        getChkEmailMand().setSelected(Boolean.valueOf(e.getChild("email").getAttributeValue("Mandatory")));
        getChkEmailShow().setSelected(Boolean.valueOf(e.getChild("email").getAttributeValue("Show")));
        getChkGenderMand().setSelected(Boolean.valueOf(e.getChild("gender").getAttributeValue("Mandatory")));
        getChkGenderShow().setSelected(Boolean.valueOf(e.getChild("gender").getAttributeValue("Show")));
        getChkGeoLevelsMand().setSelected(Boolean.valueOf(e.getChild("geoLevels").getAttributeValue("Mandatory")));
        getChkGeoLevelsShow().setSelected(Boolean.valueOf(e.getChild("geoLevels").getAttributeValue("Show")));
        getChkMobileMand().setSelected(Boolean.valueOf(e.getChild("mobile").getAttributeValue("Mandatory")));
        getChkMobileShow().setSelected(Boolean.valueOf(e.getChild("mobile").getAttributeValue("Show")));
        getChkNameMand().setSelected(Boolean.valueOf(e.getChild("name").getAttributeValue("Mandatory")));
        getChkNameShow().setSelected(Boolean.valueOf(e.getChild("name").getAttributeValue("Show")));
        getChkNotesMand().setSelected(Boolean.valueOf(e.getChild("notes").getAttributeValue("Mandatory")));
        getChkNotesShow().setSelected(Boolean.valueOf(e.getChild("notes").getAttributeValue("Show")));
        getChkPrivacyMand().setSelected(Boolean.valueOf(e.getChild("privacy").getAttributeValue("Mandatory")));
        getChkPrivacyShow().setSelected(Boolean.valueOf(e.getChild("privacy").getAttributeValue("Show")));
        getChkSurnameMand().setSelected(Boolean.valueOf(e.getChild("surname").getAttributeValue("Mandatory")));
        getChkSurnameShow().setSelected(Boolean.valueOf(e.getChild("surname").getAttributeValue("Show")));
        getChkTelephoneMand().setSelected(Boolean.valueOf(e.getChild("telephone").getAttributeValue("Mandatory")));
        getChkTelephoneShow().setSelected(Boolean.valueOf(e.getChild("telephone").getAttributeValue("Show")));
        getChkZipCodeMand().setSelected(Boolean.valueOf(e.getChild("zipCode").getAttributeValue("Mandatory")));
        getChkZipCodeShow().setSelected(Boolean.valueOf(e.getChild("zipCode").getAttributeValue("Show")));                      
        getComentariosCcfDTO().setText(e.getAttributeValue("descripcion"));           
    }
}

public void McfCargaDatosSegunElegido() { 
    Element e = getMcfDTO().obtieneMcfElegido(getIdDelItemElegidoMcf());
    if (e != null){
        getChkMcfBirthdateShow().setSelected(Boolean.valueOf(e.getChild("birthdate").getAttributeValue("Show")));
        getChkMcfCategoryShow().setSelected(Boolean.valueOf(e.getChild("category").getAttributeValue("Show")));
        getChkMcfDniShow().setSelected(Boolean.valueOf(e.getChild("dni").getAttributeValue("Show")));        
        getChkMcfExpirationDateShow().setSelected(Boolean.valueOf(e.getChild("expirationDate").getAttributeValue("Show")));        
        getChkMcfNameShow().setSelected(Boolean.valueOf(e.getChild("name").getAttributeValue("Show")));        
        getChkMcfSurnameShow().setSelected(Boolean.valueOf(e.getChild("surname").getAttributeValue("Show")));        
        getComentariosMcfDTO().setText(e.getAttributeValue("descripcion"));           
    }
}


private void btnEjecutaComboActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEjecutaComboActionPerformed
    String elegido=getComboMétodos().getSelectedItem().toString();
    if (elegido.contains("getNets("))
        { PaginationDTO pdto = new PaginationDTO();
          if (getPagDTO().validaCamposPagination()) {
              pdto.setActualPage(Integer.valueOf(getCampoActualPage().getText()));
              pdto.setInitLimit(Integer.valueOf(getCampoInitLimit().getText()));
              pdto.setRecordsTotal(Integer.valueOf(getCampoRecordsTotal().getText()));
              pdto.setRowCount(Integer.valueOf(getCampoRowCount().getText()));
//            pdto.setOrders(Integer.valueOf(campoRecordsTotal.getText()));          
//            pdto.setOrdersRowCount(Integer.valueOf(campoRowCount.getText()));
              GetNetsAnswer gna = port.getNets(pdto);
              List<AbstractNetDTO> listaNetDTO = gna.getData();
              agregaTxtAsalida("\n --- Contenido de GetNetsAnswer: "+listaNetDTO.size()+" objetos AbstractNetDTO"); 
              for (int i=0;i<listaNetDTO.size();i++)
                { agregaTxtAsalida("\n - Contenido de AbstractNetDTO "+i+":"); 
                  AbstractNetDTO andto = listaNetDTO.get(i);
                  if (andto != null) {
                      agregaTxtAsalida("Nombre: "+andto.getName()); 
                      agregaTxtAsalida("Direcion: "+andto.getAddressPrefix()+" "+andto.getAddress()+" "+andto.getAddressNumber()); 
                      agregaTxtAsalida("Email: "+andto.getMail()); 
                      agregaTxtAsalida("Descripcion: "+andto.getDescription()); 
                      //ns2:netDTO
                    }
                  else
                    { agregaTxtAsalida("\n Red nula"); }
                }
            }
        }
    else
        if (elegido.contains("modifyCampaign(")) {
            if (getCampDTO().DTOsRequeridosEstanOk()){
                //port.modifyCampaign(null)
            }                
        }
        else
            { agregaTxtAsalida("El metodo elegido aun no fue desarrollado"); }
}//GEN-LAST:event_btnEjecutaComboActionPerformed

    private void ListaPaginationValueChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_ListaPaginationValueChanged
        // TODO add your handling code here:
        PaginationCargaDatosSegunElegido();
    }//GEN-LAST:event_ListaPaginationValueChanged

public void agregaTxtAsalida(String txt) {
        Calendar calender = Calendar.getInstance();
        //String txtListo =Calendar.getInstance().getTime()+" : "+txt; 
        String fechaYhora= calender.get(Calendar.YEAR)+"/"+calender.get(Calendar.MONTH)+"/"+calender.get(Calendar.DAY_OF_MONTH)+" "+calender.get(Calendar.HOUR_OF_DAY)+":"+calender.get(Calendar.MINUTE)+":"+calender.get(Calendar.SECOND);
        String txtListo = fechaYhora + ": "+txt;
        getLog().info(txtListo);
        getTxtSalida().append("\n "+txtListo+" \n");
        getTxtSalida().setCaretPosition(getTxtSalida().getDocument().getLength());
}
   
    private void btnNuevoPaginationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnNuevoPaginationActionPerformed
        ElementoPaginationDTO epdto = new ElementoPaginationDTO();
        epdto.vaciaCamposPagination();
        this.getPagDTO().setNuevoPagination(true);   
        getListaPagination().clearSelection();
    }//GEN-LAST:event_btnNuevoPaginationActionPerformed

    private void btnEliminarPaginationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEliminarPaginationActionPerformed
        if (getListaPagination().getSelectedIndex()>=0) {            
            // pedimos confirmacion        
            int n = JOptionPane.showConfirmDialog(this,"Seguro que desea eliminar del XML el PaginationDTO seleccionado?",
            "Confirmacion de eliminacion",JOptionPane.YES_NO_OPTION);
            if (n == 0){                
                if (eliminaSeleccionadoPagination()) {
                    leeXMLsyActualizaInterfaz();                                   
                }
                else { agregaTxtAsalida("No se pudo eliminar"); }               
            }
        }
    }//GEN-LAST:event_btnEliminarPaginationActionPerformed

    private void campoAmountDaysExpirationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_campoAmountDaysExpirationActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_campoAmountDaysExpirationActionPerformed

    private void ListaCampaignValueChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_ListaCampaignValueChanged
        CampaignCargaDatosSegunElegido();
    }//GEN-LAST:event_ListaCampaignValueChanged
    
    private void btnGuardarCampaignActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGuardarCampaignActionPerformed
    if (getCampDTO().validaCamposCampaign()){
        if (getCampDTO().actualizaValoresEnDocCampaign(getIdDelItemElegidoCampaign())){        
                getCampDTO().guardaXMLcampaign();
        }
      }
    }//GEN-LAST:event_btnGuardarCampaignActionPerformed

    private void btnNuevoCampaignActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnNuevoCampaignActionPerformed
  //    ElementoCampaignDTO ecdto = new ElementoCampaignDTO();
        this.getCampDTO().vaciaCamposCampaign();
        this.getCampDTO().setNuevoCampaign(true);   
        getListaCampaign().clearSelection();
    }//GEN-LAST:event_btnNuevoCampaignActionPerformed

    private void btnEliminarCampaignActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEliminarCampaignActionPerformed
        if (getListaCampaign().getSelectedIndex()>=0) {            
            // pedimos confirmacion        
            int n = JOptionPane.showConfirmDialog(this,"Seguro que desea eliminar del XML el CampaignDTO seleccionado?",
            "Confirmacion de eliminacion",JOptionPane.YES_NO_OPTION);
            if (n == 0){                
                if (eliminaSeleccionadoCampaign()) {
                    leeXMLsyActualizaInterfaz();                                   
                }
                else { agregaTxtAsalida("No se pudo eliminar"); }               
            }
        }
    }//GEN-LAST:event_btnEliminarCampaignActionPerformed

    private void ListaCcfValueChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_ListaCcfValueChanged
        CcfCargaDatosSegunElegido();
    }//GEN-LAST:event_ListaCcfValueChanged

    private void btnGuardarCcfActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGuardarCcfActionPerformed
    if (getCcfDTO().validaCamposCcf()){
        if (getCcfDTO().actualizaValoresEnDocCcf(getIdDelItemElegidoCcf())){        
                getCcfDTO().guardaXMLccf();
        }
      }
    }//GEN-LAST:event_btnGuardarCcfActionPerformed

    private void btnNuevoCcfActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnNuevoCcfActionPerformed
        this.getCcfDTO().vaciaCamposCcf();
        this.getCcfDTO().setNuevoCcf(true);   
        getListaCcf().clearSelection();
    }//GEN-LAST:event_btnNuevoCcfActionPerformed

    private void btnEliminarCcfActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEliminarCcfActionPerformed
        if (getListaCcf().getSelectedIndex()>=0) {            
            // pedimos confirmacion        
            int n = JOptionPane.showConfirmDialog(this,"Seguro que desea eliminar del XML el CompleteCustomerFieldsDTO seleccionado?",
            "Confirmacion de eliminacion",JOptionPane.YES_NO_OPTION);
            if (n == 0){                
                if (eliminaSeleccionadoCcf()) {
                    leeXMLsyActualizaInterfaz();                                   
                }
                else { agregaTxtAsalida("No se pudo eliminar"); }               
            }
        }
    }//GEN-LAST:event_btnEliminarCcfActionPerformed

    private void ListaMcfValueChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_ListaMcfValueChanged
        McfCargaDatosSegunElegido();
    }//GEN-LAST:event_ListaMcfValueChanged

    private void btnGuardarMcfActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGuardarMcfActionPerformed
    if (getMcfDTO().validaCamposMcf()){
        if (getMcfDTO().actualizaValoresEnDocMcf(getIdDelItemElegidoMcf())){        
                getMcfDTO().guardaXMLmcf();
        }
      }
    }//GEN-LAST:event_btnGuardarMcfActionPerformed

    private void btnNuevoMcfActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnNuevoMcfActionPerformed
        ElementoMcfDTO emcfdto = new ElementoMcfDTO();
        emcfdto.vaciaCamposMcf();
        this.getMcfDTO().setNuevoMcf(true);   
        getListaMcf().clearSelection();
    }//GEN-LAST:event_btnNuevoMcfActionPerformed

    private void btnEliminarMcfActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEliminarMcfActionPerformed
        if (getListaMcf().getSelectedIndex()>=0) {            
            // pedimos confirmacion        
            int n = JOptionPane.showConfirmDialog(this,"Seguro que desea eliminar del XML el MinimumCustomerFieldsDTO seleccionado?",
            "Confirmacion de eliminacion",JOptionPane.YES_NO_OPTION);
            if (n == 0){                
                if (eliminaSeleccionadoMcf()) {
                    leeXMLsyActualizaInterfaz();                                   
                }
                else { agregaTxtAsalida("No se pudo eliminar"); }               
            }
        }
    }//GEN-LAST:event_btnEliminarMcfActionPerformed


    public void seteaSkin() {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {                    
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }         
            }
        // ponemos el nombre y el icono de la aplicacion
        this.setTitle("WS Client for FNET3 Core v1.0");
        Image icono = Toolkit.getDefaultToolkit().getImage(System.getProperty("user.dir")+"\\imgs\\logoNinaIcono.gif");
        this.setIconImage(icono);
        CompleteCustomerFieldsDTO a = new CompleteCustomerFieldsDTO();
                
        //setSize(450, 100);
        
      // Set System L&F
/*       javax.swing.UIManager.setLookAndFeel(
                javax.swing.UIManager.getSystemLookAndFeelClassName()
                //"com.sun.java.swing.plaf.windows.WindowsLookAndFeel"
                //"com.sun.java.swing.plaf.motif.MotifLookAndFeel"
                //"com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel"
                );            
*/
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(FormDTOs.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(FormDTOs.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(FormDTOs.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(FormDTOs.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form 
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new FormDTOs();
            }
        });
        */
        
    }
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JList ListaCampaign;
    private javax.swing.JList ListaCcf;
    private javax.swing.JList ListaMcf;
    private javax.swing.JList ListaPagination;
    private javax.swing.JPanel PanelCampaignDTO;
    private javax.swing.JPanel PanelCategoryDTO;
    private javax.swing.JPanel PanelChksCcfDTO;
    private javax.swing.JPanel PanelChksMcfDTO;
    private javax.swing.JPanel PanelCompleteCustomerFieldsDTO;
    private javax.swing.JPanel PanelMetodos;
    private javax.swing.JPanel PanelMinimumCustomerFieldsDTO;
    private javax.swing.JPanel PanelNetDTO;
    private javax.swing.JPanel PanelPaginationDTO;
    private javax.swing.JPanel PanelResultados;
    private javax.swing.JTextArea TxtSalida;
    private javax.swing.JButton btnEjecutaCombo;
    private javax.swing.JButton btnEjecutar;
    private javax.swing.JButton btnEliminarCampaign;
    private javax.swing.JButton btnEliminarCcf;
    private javax.swing.JButton btnEliminarMcf;
    private javax.swing.JButton btnEliminarPagination;
    private javax.swing.JButton btnGuardarCampaign;
    private javax.swing.JButton btnGuardarCategoty;
    private javax.swing.JButton btnGuardarCcf;
    private javax.swing.JButton btnGuardarMcf;
    private javax.swing.JButton btnGuardarNet;
    private javax.swing.JButton btnGuardarPagination;
    private javax.swing.JButton btnNuevoCampaign;
    private javax.swing.JButton btnNuevoCcf;
    private javax.swing.JButton btnNuevoMcf;
    private javax.swing.JButton btnNuevoPagination;
    private javax.swing.JTextField campoActualPage;
    private javax.swing.JTextField campoAmountDaysExpiration;
    private javax.swing.JTextField campoAmountLastMovements;
    private javax.swing.JTextField campoAmountPrizes;
    private javax.swing.JTextField campoCampaignID;
    private javax.swing.JTextField campoCreditsTag;
    private javax.swing.JTextField campoCriteria;
    private javax.swing.JTextField campoDescriptionCampaign;
    private javax.swing.JTextField campoDirLogo;
    private javax.swing.JTextField campoInitLimit;
    private javax.swing.JTextField campoInitialCharge;
    private javax.swing.JTextField campoLocalCurrencyConversion;
    private javax.swing.JTextField campoMail;
    private javax.swing.JTextField campoMetodo;
    private javax.swing.JTextField campoNameCamp;
    private javax.swing.JTextField campoNameCategory;
    private javax.swing.JTextField campoNetDescription;
    private javax.swing.JTextField campoNetName;
    private javax.swing.JTextField campoOrder;
    private javax.swing.JTextField campoPointsTag;
    private javax.swing.JTextField campoRecordsTotal;
    private javax.swing.JTextField campoRowCount;
    private javax.swing.JTextField campoTelephone;
    private javax.swing.JTextField campoTypesCards;
    private javax.swing.JCheckBox chkAddressMand;
    private javax.swing.JCheckBox chkAddressShow;
    private javax.swing.JCheckBox chkBirthdateMand;
    private javax.swing.JCheckBox chkBirthdateShow;
    private javax.swing.JCheckBox chkCountryMand;
    private javax.swing.JCheckBox chkCountryShow;
    private javax.swing.JCheckBox chkDniMand;
    private javax.swing.JCheckBox chkDniShow;
    private javax.swing.JCheckBox chkEmailMand;
    private javax.swing.JCheckBox chkEmailShow;
    private javax.swing.JCheckBox chkGenderMand;
    private javax.swing.JCheckBox chkGenderShow;
    private javax.swing.JCheckBox chkGeoLevelsMand;
    private javax.swing.JCheckBox chkGeoLevelsShow;
    private javax.swing.JCheckBox chkMcfBirthdateShow;
    private javax.swing.JCheckBox chkMcfCategoryShow;
    private javax.swing.JCheckBox chkMcfDniShow;
    private javax.swing.JCheckBox chkMcfExpirationDateShow;
    private javax.swing.JCheckBox chkMcfNameShow;
    private javax.swing.JCheckBox chkMcfSurnameShow;
    private javax.swing.JCheckBox chkMobileMand;
    private javax.swing.JCheckBox chkMobileShow;
    private javax.swing.JCheckBox chkNameMand;
    private javax.swing.JCheckBox chkNameShow;
    private javax.swing.JCheckBox chkNotesMand;
    private javax.swing.JCheckBox chkNotesShow;
    private javax.swing.JCheckBox chkPrivacyMand;
    private javax.swing.JCheckBox chkPrivacyShow;
    private javax.swing.JCheckBox chkSurnameMand;
    private javax.swing.JCheckBox chkSurnameShow;
    private javax.swing.JCheckBox chkTelephoneMand;
    private javax.swing.JCheckBox chkTelephoneShow;
    private javax.swing.JCheckBox chkZipCodeMand;
    private javax.swing.JCheckBox chkZipCodeShow;
    private javax.swing.JComboBox comboMétodos;
    private javax.swing.JTextArea comentariosCampaignDTO;
    private javax.swing.JTextArea comentariosCcfDTO;
    private javax.swing.JTextArea comentariosMcfDTO;
    private javax.swing.JTextArea comentariosPagination;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel16;
    private javax.swing.JPanel jPanel17;
    private javax.swing.JPanel jPanel18;
    private javax.swing.JPanel jPanel19;
    private javax.swing.JPanel jPanel20;
    private javax.swing.JPanel jPanel26;
    private javax.swing.JPanel jPanel28;
    private javax.swing.JPanel jPanel29;
    private javax.swing.JPanel jPanel30;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JLabel lblActualPage;
    private javax.swing.JLabel lblAmountDaysExpiration;
    private javax.swing.JLabel lblAmountLastMovements;
    private javax.swing.JLabel lblAmountPrizes;
    private javax.swing.JLabel lblCcfAdress;
    private javax.swing.JLabel lblCcfBirthdate;
    private javax.swing.JLabel lblCcfComentarios;
    private javax.swing.JLabel lblCcfCountry;
    private javax.swing.JLabel lblCcfDNI;
    private javax.swing.JLabel lblCcfEmail;
    private javax.swing.JLabel lblCcfGender;
    private javax.swing.JLabel lblCcfGeoLevels;
    private javax.swing.JLabel lblCcfMobile;
    private javax.swing.JLabel lblCcfName;
    private javax.swing.JLabel lblCcfNotes;
    private javax.swing.JLabel lblCcfPrivacy;
    private javax.swing.JLabel lblCcfSurname;
    private javax.swing.JLabel lblCcfTelephone;
    private javax.swing.JLabel lblCcfTxtMandatory;
    private javax.swing.JLabel lblCcfTxtShow;
    private javax.swing.JLabel lblComentarios;
    private javax.swing.JLabel lblComentarios1;
    private javax.swing.JLabel lblCreditsTag;
    private javax.swing.JLabel lblCriteria;
    private javax.swing.JLabel lblDescriptionCampaign;
    private javax.swing.JLabel lblDirLogo;
    private javax.swing.JLabel lblInitLimit;
    private javax.swing.JLabel lblLocalCurrencyConversion;
    private javax.swing.JLabel lblMcfBirthdate;
    private javax.swing.JLabel lblMcfCategory;
    private javax.swing.JLabel lblMcfComentarios1;
    private javax.swing.JLabel lblMcfDNI;
    private javax.swing.JLabel lblMcfExpirationDate;
    private javax.swing.JLabel lblMcfName;
    private javax.swing.JLabel lblMcfSurname;
    private javax.swing.JLabel lblMcfTxtShow1;
    private javax.swing.JLabel lblName;
    private javax.swing.JLabel lblORDERS;
    private javax.swing.JLabel lblOrder;
    private javax.swing.JLabel lblOtrosDTOs;
    private javax.swing.JLabel lblPointsTag;
    private javax.swing.JLabel lblRecordsTotal;
    private javax.swing.JLabel lblRowCount;
    private javax.swing.JLabel lblTypesCards;
    private javax.swing.JLabel lblZipCode;
    private javax.swing.JPanel panel1;
    private javax.swing.JPanel panel2;
    private javax.swing.JPanel panelBotones;
    private javax.swing.JPanel panelBotones1;
    private javax.swing.JPanel panelBotonesCcf;
    private javax.swing.JPanel panelBotonesMcf;
    private javax.swing.JPanel panelCampos;
    private javax.swing.JPanel panelCampos1;
    private javax.swing.JPanel panelCampos2;
    private javax.swing.JPanel panelCamposMcf;
    private javax.swing.JPanel panelDerecha;
    private javax.swing.JPanel panelDerechaCcf;
    private javax.swing.JPanel panelDerechaMcf;
    private javax.swing.JPanel panelElijeMetodo;
    private javax.swing.JPanel panelIngresaMetodo;
    private javax.swing.JPanel panelIzq;
    private javax.swing.JPanel panelIzqCamp;
    private javax.swing.JPanel panelIzqCamp1;
    private javax.swing.JPanel panelIzqCampaign;
    private javax.swing.JPanel panelIzqCompCustFields;
    private javax.swing.JPanel panelIzqMcf;
    private javax.swing.JPanel panelIzqMcf2;
    private javax.swing.JPanel panelMedio;
    private javax.swing.JPanel panelMedio1;
    private javax.swing.JPanel panelMedioCcf;
    private javax.swing.JPanel panelMedioMcf;
    private javax.swing.JTabbedPane pestanias;
    private javax.swing.JScrollPane scrollCcf;
    private javax.swing.JScrollPane scrollComentCcf;
    private javax.swing.JScrollPane scrollComentMcf1;
    private javax.swing.JScrollPane scrollComentPagination;
    private javax.swing.JScrollPane scrollMcf;
    private javax.swing.JScrollPane scrollPagination;
    private javax.swing.JScrollPane scrollPagination1;
    private javax.swing.JLabel txtOtrosDTOs;
    // End of variables declaration//GEN-END:variables

    /**
     * @return the ListaCampaign
     */
    public javax.swing.JList getListaCampaign() {
        return ListaCampaign;
    }

    /**
     * @param ListaCampaign the ListaCampaign to set
     */
    public void setListaCampaign(javax.swing.JList ListaCampaign) {
        this.ListaCampaign = ListaCampaign;
    }

    /**
     * @return the ListaPagination
     */
    public javax.swing.JList getListaPagination() {
        return ListaPagination;
    }

    /**
     * @param ListaPagination the ListaPagination to set
     */
    public void setListaPagination(javax.swing.JList ListaPagination) {
        this.ListaPagination = ListaPagination;
    }

    /**
     * @return the TxtSalida
     */
    public javax.swing.JTextArea getTxtSalida() {
        return TxtSalida;
    }

    /**
     * @param TxtSalida the TxtSalida to set
     */
    public void setTxtSalida(javax.swing.JTextArea TxtSalida) {
        this.TxtSalida = TxtSalida;
    }

    /**
     * @return the campoActualPage
     */
    public javax.swing.JTextField getCampoActualPage() {
        return campoActualPage;
    }

    /**
     * @param campoActualPage the campoActualPage to set
     */
    public void setCampoActualPage(javax.swing.JTextField campoActualPage) {
        this.campoActualPage = campoActualPage;
    }

    /**
     * @return the campoAmountDaysExpiration
     */
    public javax.swing.JTextField getCampoAmountDaysExpiration() {
        return campoAmountDaysExpiration;
    }

    /**
     * @param campoAmountDaysExpiration the campoAmountDaysExpiration to set
     */
    public void setCampoAmountDaysExpiration(javax.swing.JTextField campoAmountDaysExpiration) {
        this.campoAmountDaysExpiration = campoAmountDaysExpiration;
    }

    /**
     * @return the campoAmountLastMovements
     */
    public javax.swing.JTextField getCampoAmountLastMovements() {
        return campoAmountLastMovements;
    }

    /**
     * @param campoAmountLastMovements the campoAmountLastMovements to set
     */
    public void setCampoAmountLastMovements(javax.swing.JTextField campoAmountLastMovements) {
        this.campoAmountLastMovements = campoAmountLastMovements;
    }

    /**
     * @return the campoAmountPrizes
     */
    public javax.swing.JTextField getCampoAmountPrizes() {
        return campoAmountPrizes;
    }

    /**
     * @param campoAmountPrizes the campoAmountPrizes to set
     */
    public void setCampoAmountPrizes(javax.swing.JTextField campoAmountPrizes) {
        this.campoAmountPrizes = campoAmountPrizes;
    }

    /**
     * @return the campoCampaignID
     */
    public javax.swing.JTextField getCampoCampaignID() {
        return campoCampaignID;
    }

    /**
     * @param campoCampaignID the campoCampaignID to set
     */
    public void setCampoCampaignID(javax.swing.JTextField campoCampaignID) {
        this.campoCampaignID = campoCampaignID;
    }

    /**
     * @return the campoCreditsTag
     */
    public javax.swing.JTextField getCampoCreditsTag() {
        return campoCreditsTag;
    }

    /**
     * @param campoCreditsTag the campoCreditsTag to set
     */
    public void setCampoCreditsTag(javax.swing.JTextField campoCreditsTag) {
        this.campoCreditsTag = campoCreditsTag;
    }

    /**
     * @return the campoCriteria
     */
    public javax.swing.JTextField getCampoCriteria() {
        return campoCriteria;
    }

    /**
     * @param campoCriteria the campoCriteria to set
     */
    public void setCampoCriteria(javax.swing.JTextField campoCriteria) {
        this.campoCriteria = campoCriteria;
    }

    /**
     * @return the campoDescriptionCampaign
     */
    public javax.swing.JTextField getCampoDescriptionCampaign() {
        return campoDescriptionCampaign;
    }

    /**
     * @param campoDescriptionCampaign the campoDescriptionCampaign to set
     */
    public void setCampoDescriptionCampaign(javax.swing.JTextField campoDescriptionCampaign) {
        this.campoDescriptionCampaign = campoDescriptionCampaign;
    }

    /**
     * @return the campoDirLogo
     */
    public javax.swing.JTextField getCampoDirLogo() {
        return campoDirLogo;
    }

    /**
     * @param campoDirLogo the campoDirLogo to set
     */
    public void setCampoDirLogo(javax.swing.JTextField campoDirLogo) {
        this.campoDirLogo = campoDirLogo;
    }

    /**
     * @return the campoInitLimit
     */
    public javax.swing.JTextField getCampoInitLimit() {
        return campoInitLimit;
    }

    /**
     * @param campoInitLimit the campoInitLimit to set
     */
    public void setCampoInitLimit(javax.swing.JTextField campoInitLimit) {
        this.campoInitLimit = campoInitLimit;
    }

    /**
     * @return the campoInitialCharge
     */
    public javax.swing.JTextField getCampoInitialCharge() {
        return campoInitialCharge;
    }

    /**
     * @param campoInitialCharge the campoInitialCharge to set
     */
    public void setCampoInitialCharge(javax.swing.JTextField campoInitialCharge) {
        this.campoInitialCharge = campoInitialCharge;
    }

    /**
     * @return the campoLocalCurrencyConversion
     */
    public javax.swing.JTextField getCampoLocalCurrencyConversion() {
        return campoLocalCurrencyConversion;
    }

    /**
     * @param campoLocalCurrencyConversion the campoLocalCurrencyConversion to set
     */
    public void setCampoLocalCurrencyConversion(javax.swing.JTextField campoLocalCurrencyConversion) {
        this.campoLocalCurrencyConversion = campoLocalCurrencyConversion;
    }

    /**
     * @return the campoMail
     */
    public javax.swing.JTextField getCampoMail() {
        return campoMail;
    }

    /**
     * @param campoMail the campoMail to set
     */
    public void setCampoMail(javax.swing.JTextField campoMail) {
        this.campoMail = campoMail;
    }

    /**
     * @return the campoMetodo
     */
    public javax.swing.JTextField getCampoMetodo() {
        return campoMetodo;
    }

    /**
     * @param campoMetodo the campoMetodo to set
     */
    public void setCampoMetodo(javax.swing.JTextField campoMetodo) {
        this.campoMetodo = campoMetodo;
    }


    /**
     * @return the campoNameCamp
     */
    public javax.swing.JTextField getCampoNameCamp() {
        return campoNameCamp;
    }

    /**
     * @param campoNameCamp the campoNameCamp to set
     */
    public void setCampoNameCamp(javax.swing.JTextField campoNameCamp) {
        this.campoNameCamp = campoNameCamp;
    }

    /**
     * @return the campoNameCategory
     */
    public javax.swing.JTextField getCampoNameCategory() {
        return campoNameCategory;
    }

    /**
     * @param campoNameCategory the campoNameCategory to set
     */
    public void setCampoNameCategory(javax.swing.JTextField campoNameCategory) {
        this.campoNameCategory = campoNameCategory;
    }

    /**
     * @return the campoNetDescription
     */
    public javax.swing.JTextField getCampoNetDescription() {
        return campoNetDescription;
    }

    /**
     * @param campoNetDescription the campoNetDescription to set
     */
    public void setCampoNetDescription(javax.swing.JTextField campoNetDescription) {
        this.campoNetDescription = campoNetDescription;
    }

    /**
     * @return the campoNetName
     */
    public javax.swing.JTextField getCampoNetName() {
        return campoNetName;
    }

    /**
     * @param campoNetName the campoNetName to set
     */
    public void setCampoNetName(javax.swing.JTextField campoNetName) {
        this.campoNetName = campoNetName;
    }

    /**
     * @return the campoOrder
     */
    public javax.swing.JTextField getCampoOrder() {
        return campoOrder;
    }

    /**
     * @param campoOrder the campoOrder to set
     */
    public void setCampoOrder(javax.swing.JTextField campoOrder) {
        this.campoOrder = campoOrder;
    }

    /**
     * @return the campoPointsTag
     */
    public javax.swing.JTextField getCampoPointsTag() {
        return campoPointsTag;
    }

    /**
     * @param campoPointsTag the campoPointsTag to set
     */
    public void setCampoPointsTag(javax.swing.JTextField campoPointsTag) {
        this.campoPointsTag = campoPointsTag;
    }

    /**
     * @return the campoRecordsTotal
     */
    public javax.swing.JTextField getCampoRecordsTotal() {
        return campoRecordsTotal;
    }

    /**
     * @param campoRecordsTotal the campoRecordsTotal to set
     */
    public void setCampoRecordsTotal(javax.swing.JTextField campoRecordsTotal) {
        this.campoRecordsTotal = campoRecordsTotal;
    }

    /**
     * @return the campoRowCount
     */
    public javax.swing.JTextField getCampoRowCount() {
        return campoRowCount;
    }

    /**
     * @param campoRowCount the campoRowCount to set
     */
    public void setCampoRowCount(javax.swing.JTextField campoRowCount) {
        this.campoRowCount = campoRowCount;
    }

    /**
     * @return the campoTelephone
     */
    public javax.swing.JTextField getCampoTelephone() {
        return campoTelephone;
    }

    /**
     * @param campoTelephone the campoTelephone to set
     */
    public void setCampoTelephone(javax.swing.JTextField campoTelephone) {
        this.campoTelephone = campoTelephone;
    }

    /**
     * @return the campoTypesCards
     */
    public javax.swing.JTextField getCampoTypesCards() {
        return campoTypesCards;
    }

    /**
     * @param campoTypesCards the campoTypesCards to set
     */
    public void setCampoTypesCards(javax.swing.JTextField campoTypesCards) {
        this.campoTypesCards = campoTypesCards;
    }

    /**
     * @return the comboMétodos
     */
    public javax.swing.JComboBox getComboMétodos() {
        return comboMétodos;
    }

    /**
     * @param comboMétodos the comboMétodos to set
     */
    public void setComboMétodos(javax.swing.JComboBox comboMétodos) {
        this.comboMétodos = comboMétodos;
    }

    /**
     * @return the comentariosCampaignDTO
     */
    public javax.swing.JTextArea getComentariosCampaignDTO() {
        return comentariosCampaignDTO;
    }

    /**
     * @param comentariosCampaignDTO the comentariosCampaignDTO to set
     */
    public void setComentariosCampaignDTO(javax.swing.JTextArea comentariosCampaignDTO) {
        this.comentariosCampaignDTO = comentariosCampaignDTO;
    }

    /**
     * @return the comentariosPagination
     */
    public javax.swing.JTextArea getComentariosPagination() {
        return comentariosPagination;
    }

    /**
     * @param comentariosPagination the comentariosPagination to set
     */
    public void setComentariosPagination(javax.swing.JTextArea comentariosPagination) {
        this.comentariosPagination = comentariosPagination;
    }

    @Override
    public void update(Observable o, Object arg) {
        //throw new UnsupportedOperationException("Not supported yet.");
        if (o.equals(getPagDTO())) {
            agregaTxtAsalida(getPagDTO().getTxtSalida());
        }
        else
            if (o.equals(getCampDTO())) {
                agregaTxtAsalida(getCampDTO().getTxtSalida());
            }
            else 
              if (o.equals(getCcfDTO())) {
                 agregaTxtAsalida(getCcfDTO().getTxtSalida());
              }
              else
                if (o.equals(getMcfDTO())) {
                    agregaTxtAsalida(getMcfDTO().getTxtSalida());
                }
    }

    /**
     * @return the chkAddressMand
     */
    public javax.swing.JCheckBox getChkAddressMand() {
        return chkAddressMand;
    }

    /**
     * @param chkAddressMand the chkAddressMand to set
     */
    public void setChkAddressMand(javax.swing.JCheckBox chkAddressMand) {
        this.chkAddressMand = chkAddressMand;
    }

    /**
     * @return the chkAddressShow
     */
    public javax.swing.JCheckBox getChkAddressShow() {
        return chkAddressShow;
    }

    /**
     * @param chkAddressShow the chkAddressShow to set
     */
    public void setChkAddressShow(javax.swing.JCheckBox chkAddressShow) {
        this.chkAddressShow = chkAddressShow;
    }

    /**
     * @return the chkBirthdateMand
     */
    public javax.swing.JCheckBox getChkBirthdateMand() {
        return chkBirthdateMand;
    }

    /**
     * @return the chkBirthdateShow
     */
    public javax.swing.JCheckBox getChkBirthdateShow() {
        return chkBirthdateShow;
    }

    /**
     * @return the chkCountryMand
     */
    public javax.swing.JCheckBox getChkCountryMand() {
        return chkCountryMand;
    }

    /**
     * @return the chkCountryShow
     */
    public javax.swing.JCheckBox getChkCountryShow() {
        return chkCountryShow;
    }

    /**
     * @return the chkDniMand
     */
    public javax.swing.JCheckBox getChkDniMand() {
        return chkDniMand;
    }

    /**
     * @return the chkDniShow
     */
    public javax.swing.JCheckBox getChkDniShow() {
        return chkDniShow;
    }

    /**
     * @return the chkEmailMand
     */
    public javax.swing.JCheckBox getChkEmailMand() {
        return chkEmailMand;
    }

    /**
     * @return the chkEmailShow
     */
    public javax.swing.JCheckBox getChkEmailShow() {
        return chkEmailShow;
    }

    /**
     * @return the chkGenderMand
     */
    public javax.swing.JCheckBox getChkGenderMand() {
        return chkGenderMand;
    }

    /**
     * @return the chkGenderShow
     */
    public javax.swing.JCheckBox getChkGenderShow() {
        return chkGenderShow;
    }

    /**
     * @return the chkGeoLevelsMand
     */
    public javax.swing.JCheckBox getChkGeoLevelsMand() {
        return chkGeoLevelsMand;
    }

    /**
     * @return the chkGeoLevelsShow
     */
    public javax.swing.JCheckBox getChkGeoLevelsShow() {
        return chkGeoLevelsShow;
    }

    /**
     * @return the chkMobileMand
     */
    public javax.swing.JCheckBox getChkMobileMand() {
        return chkMobileMand;
    }

    /**
     * @return the chkMobileShow
     */
    public javax.swing.JCheckBox getChkMobileShow() {
        return chkMobileShow;
    }

    /**
     * @return the chkNameMand
     */
    public javax.swing.JCheckBox getChkNameMand() {
        return chkNameMand;
    }

    /**
     * @return the chkNameShow
     */
    public javax.swing.JCheckBox getChkNameShow() {
        return chkNameShow;
    }

    /**
     * @return the chkNotesMand
     */
    public javax.swing.JCheckBox getChkNotesMand() {
        return chkNotesMand;
    }

    /**
     * @return the chkNotesShow
     */
    public javax.swing.JCheckBox getChkNotesShow() {
        return chkNotesShow;
    }

    /**
     * @return the chkPrivacyMand
     */
    public javax.swing.JCheckBox getChkPrivacyMand() {
        return chkPrivacyMand;
    }

    /**
     * @return the chkPrivacyShow
     */
    public javax.swing.JCheckBox getChkPrivacyShow() {
        return chkPrivacyShow;
    }

    /**
     * @return the chkSurnameMand
     */
    public javax.swing.JCheckBox getChkSurnameMand() {
        return chkSurnameMand;
    }

    /**
     * @return the chkSurnameShow
     */
    public javax.swing.JCheckBox getChkSurnameShow() {
        return chkSurnameShow;
    }

    /**
     * @return the chkTelephoneMand
     */
    public javax.swing.JCheckBox getChkTelephoneMand() {
        return chkTelephoneMand;
    }

    /**
     * @return the chkTelephoneShow
     */
    public javax.swing.JCheckBox getChkTelephoneShow() {
        return chkTelephoneShow;
    }

    /**
     * @return the chkZipCodeMand
     */
    public javax.swing.JCheckBox getChkZipCodeMand() {
        return chkZipCodeMand;
    }

    /**
     * @return the chkZipCodeShow
     */
    public javax.swing.JCheckBox getChkZipCodeShow() {
        return chkZipCodeShow;
    }

    /**
     * @param chkBirthdateMand the chkBirthdateMand to set
     */
    public void setChkBirthdateMand(javax.swing.JCheckBox chkBirthdateMand) {
        this.chkBirthdateMand = chkBirthdateMand;
    }

    /**
     * @param chkBirthdateShow the chkBirthdateShow to set
     */
    public void setChkBirthdateShow(javax.swing.JCheckBox chkBirthdateShow) {
        this.chkBirthdateShow = chkBirthdateShow;
    }

    /**
     * @param chkCountryMand the chkCountryMand to set
     */
    public void setChkCountryMand(javax.swing.JCheckBox chkCountryMand) {
        this.chkCountryMand = chkCountryMand;
    }

    /**
     * @param chkCountryShow the chkCountryShow to set
     */
    public void setChkCountryShow(javax.swing.JCheckBox chkCountryShow) {
        this.chkCountryShow = chkCountryShow;
    }

    /**
     * @param chkDniMand the chkDniMand to set
     */
    public void setChkDniMand(javax.swing.JCheckBox chkDniMand) {
        this.chkDniMand = chkDniMand;
    }

    /**
     * @param chkDniShow the chkDniShow to set
     */
    public void setChkDniShow(javax.swing.JCheckBox chkDniShow) {
        this.chkDniShow = chkDniShow;
    }

    /**
     * @param chkEmailMand the chkEmailMand to set
     */
    public void setChkEmailMand(javax.swing.JCheckBox chkEmailMand) {
        this.chkEmailMand = chkEmailMand;
    }

    /**
     * @param chkEmailShow the chkEmailShow to set
     */
    public void setChkEmailShow(javax.swing.JCheckBox chkEmailShow) {
        this.chkEmailShow = chkEmailShow;
    }

    /**
     * @param chkGenderMand the chkGenderMand to set
     */
    public void setChkGenderMand(javax.swing.JCheckBox chkGenderMand) {
        this.chkGenderMand = chkGenderMand;
    }

    /**
     * @param chkGenderShow the chkGenderShow to set
     */
    public void setChkGenderShow(javax.swing.JCheckBox chkGenderShow) {
        this.chkGenderShow = chkGenderShow;
    }

    /**
     * @param chkGeoLevelsMand the chkGeoLevelsMand to set
     */
    public void setChkGeoLevelsMand(javax.swing.JCheckBox chkGeoLevelsMand) {
        this.chkGeoLevelsMand = chkGeoLevelsMand;
    }

    /**
     * @param chkGeoLevelsShow the chkGeoLevelsShow to set
     */
    public void setChkGeoLevelsShow(javax.swing.JCheckBox chkGeoLevelsShow) {
        this.chkGeoLevelsShow = chkGeoLevelsShow;
    }

    /**
     * @param chkMobileMand the chkMobileMand to set
     */
    public void setChkMobileMand(javax.swing.JCheckBox chkMobileMand) {
        this.chkMobileMand = chkMobileMand;
    }

    /**
     * @param chkMobileShow the chkMobileShow to set
     */
    public void setChkMobileShow(javax.swing.JCheckBox chkMobileShow) {
        this.chkMobileShow = chkMobileShow;
    }

    /**
     * @param chkNameMand the chkNameMand to set
     */
    public void setChkNameMand(javax.swing.JCheckBox chkNameMand) {
        this.chkNameMand = chkNameMand;
    }

    /**
     * @param chkNameShow the chkNameShow to set
     */
    public void setChkNameShow(javax.swing.JCheckBox chkNameShow) {
        this.chkNameShow = chkNameShow;
    }

    /**
     * @param chkNotesMand the chkNotesMand to set
     */
    public void setChkNotesMand(javax.swing.JCheckBox chkNotesMand) {
        this.chkNotesMand = chkNotesMand;
    }

    /**
     * @param chkNotesShow the chkNotesShow to set
     */
    public void setChkNotesShow(javax.swing.JCheckBox chkNotesShow) {
        this.chkNotesShow = chkNotesShow;
    }

    /**
     * @param chkPrivacyMand the chkPrivacyMand to set
     */
    public void setChkPrivacyMand(javax.swing.JCheckBox chkPrivacyMand) {
        this.chkPrivacyMand = chkPrivacyMand;
    }

    /**
     * @param chkPrivacyShow the chkPrivacyShow to set
     */
    public void setChkPrivacyShow(javax.swing.JCheckBox chkPrivacyShow) {
        this.chkPrivacyShow = chkPrivacyShow;
    }

    /**
     * @param chkSurnameMand the chkSurnameMand to set
     */
    public void setChkSurnameMand(javax.swing.JCheckBox chkSurnameMand) {
        this.chkSurnameMand = chkSurnameMand;
    }

    /**
     * @param chkSurnameShow the chkSurnameShow to set
     */
    public void setChkSurnameShow(javax.swing.JCheckBox chkSurnameShow) {
        this.chkSurnameShow = chkSurnameShow;
    }

    /**
     * @param chkTelephoneMand the chkTelephoneMand to set
     */
    public void setChkTelephoneMand(javax.swing.JCheckBox chkTelephoneMand) {
        this.chkTelephoneMand = chkTelephoneMand;
    }

    /**
     * @param chkTelephoneShow the chkTelephoneShow to set
     */
    public void setChkTelephoneShow(javax.swing.JCheckBox chkTelephoneShow) {
        this.chkTelephoneShow = chkTelephoneShow;
    }

    /**
     * @param chkZipCodeMand the chkZipCodeMand to set
     */
    public void setChkZipCodeMand(javax.swing.JCheckBox chkZipCodeMand) {
        this.chkZipCodeMand = chkZipCodeMand;
    }

    /**
     * @param chkZipCodeShow the chkZipCodeShow to set
     */
    public void setChkZipCodeShow(javax.swing.JCheckBox chkZipCodeShow) {
        this.chkZipCodeShow = chkZipCodeShow;
    }

    /**
     * @return the comentariosCcfDTO
     */
    public javax.swing.JTextArea getComentariosCcfDTO() {
        return comentariosCcfDTO;
    }
    public void setComentariosCcfDTO(javax.swing.JTextArea comentariosCcfDTO) {
        this.comentariosCcfDTO = comentariosCcfDTO;
    }
    public javax.swing.JList getListaCcf() {
        return ListaCcf;
    }
    public void setListaCcf(javax.swing.JList listaCcf) {
        this.ListaCcf = listaCcf;
    }

    /**
     * @return the pagDTO
     */
    public ElementoPaginationDTO getPagDTO() {
        return pagDTO;
    }

    /**
     * @param pagDTO the pagDTO to set
     */
    public void setPagDTO(ElementoPaginationDTO pagDTO) {
        this.pagDTO = pagDTO;
    }

    /**
     * @return the campDTO
     */
    public ElementoCampaignDTO getCampDTO() {
        return this.campDTO;
    }

    /**
     * @param campDTO the campDTO to set
     */
    public void setCampDTO(ElementoCampaignDTO campDTO) {
        this.campDTO = campDTO;
    }

    /**
     * @return the ccfDTO
     */
    public ElementoCcfDTO getCcfDTO() {
        return ccfDTO;
    }

    /**
     * @param ccfDTO the ccfDTO to set
     */
    public void setCcfDTO(ElementoCcfDTO ccfDTO) {
        this.ccfDTO = ccfDTO;
    }

    /**
     * @return the log
     */
    public Logger getLog() {
        return this.log;
    }

    /**
     * @return the mcfDTO
     */
    public ElementoMcfDTO getMcfDTO() {
        return mcfDTO;
    }

    /**
     * @param mcfDTO the mcfDTO to set
     */
    public void setMcfDTO(ElementoMcfDTO mcfDTO) {
        this.mcfDTO = mcfDTO;
    }

    /**
     * @return the ListaMcf
     */
    public javax.swing.JList getListaMcf() {
        return ListaMcf;
    }

    /**
     * @param ListaMcf the ListaMcf to set
     */
    public void setListaMcf(javax.swing.JList ListaMcf) {
        this.ListaMcf = ListaMcf;
    }


    /**
     * @return the chkMcfBirthdateShow
     */
    public javax.swing.JCheckBox getChkMcfBirthdateShow() {
        return chkMcfBirthdateShow;
    }

    /**
     * @param chkMcfBirthdateShow the chkMcfBirthdateShow to set
     */
    public void setChkMcfBirthdateShow(javax.swing.JCheckBox chkMcfBirthdateShow) {
        this.chkMcfBirthdateShow = chkMcfBirthdateShow;
    }


    /**
     * @return the chkMcfCategoryShow
     */
    public javax.swing.JCheckBox getChkMcfCategoryShow() {
        return chkMcfCategoryShow;
    }

    /**
     * @param chkMcfCategoryShow the chkMcfCategoryShow to set
     */
    public void setChkMcfCategoryShow(javax.swing.JCheckBox chkMcfCategoryShow) {
        this.chkMcfCategoryShow = chkMcfCategoryShow;
    }


    /**
     * @return the chkMcfDniShow
     */
    public javax.swing.JCheckBox getChkMcfDniShow() {
        return chkMcfDniShow;
    }

    /**
     * @param chkMcfDniShow the chkMcfDniShow to set
     */
    public void setChkMcfDniShow(javax.swing.JCheckBox chkMcfDniShow) {
        this.chkMcfDniShow = chkMcfDniShow;
    }

    /**
     * @return the chkMcfExpirationDateShow
     */
    public javax.swing.JCheckBox getChkMcfExpirationDateShow() {
        return chkMcfExpirationDateShow;
    }

    /**
     * @param chkMcfExpirationDateShow the chkMcfExpirationDateShow to set
     */
    public void setChkMcfExpirationDateShow(javax.swing.JCheckBox chkMcfExpirationDateShow) {
        this.chkMcfExpirationDateShow = chkMcfExpirationDateShow;
    }

    /**
     * @return the chkMcfNameShow
     */
    public javax.swing.JCheckBox getChkMcfNameShow() {
        return chkMcfNameShow;
    }

    /**
     * @param chkMcfNameShow the chkMcfNameShow to set
     */
    public void setChkMcfNameShow(javax.swing.JCheckBox chkMcfNameShow) {
        this.chkMcfNameShow = chkMcfNameShow;
    }

    /**
     * @return the chkMcfSurnameShow
     */
    public javax.swing.JCheckBox getChkMcfSurnameShow() {
        return chkMcfSurnameShow;
    }

    /**
     * @param chkMcfSurnameShow the chkMcfSurnameShow to set
     */
    public void setChkMcfSurnameShow(javax.swing.JCheckBox chkMcfSurnameShow) {
        this.chkMcfSurnameShow = chkMcfSurnameShow;
    }

    /**
     * @return the comentariosMcfDTO
     */
    public javax.swing.JTextArea getComentariosMcfDTO() {
        return comentariosMcfDTO;
    }

    /**
     * @param comentariosMcfDTO the comentariosMcfDTO to set
     */
    public void setComentariosMcfDTO(javax.swing.JTextArea comentariosMcfDTO) {
        this.comentariosMcfDTO = comentariosMcfDTO;
    }

    /**
     * @return the PanelChksMcfDTO
     */
    public javax.swing.JPanel getPanelChksMcfDTO() {
        return PanelChksMcfDTO;
    }

    /**
     * @param PanelChksMcfDTO the PanelChksMcfDTO to set
     */
    public void setPanelChksMcfDTO(javax.swing.JPanel PanelChksMcfDTO) {
        this.PanelChksMcfDTO = PanelChksMcfDTO;
    }
    
}